Skip to content

Commit

Permalink
fix matching for bundling inline script tags (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 authored Apr 9, 2023
1 parent 4290c3a commit 0a1a0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/config/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function greenwoodSyncPageResourceBundlesPlugin(compilation) {
...compilation.resources.get(resource.sourcePathURL.pathname),
optimizedFileName: fileName,
optimizedFileContents: await fs.readFile(outputPath, 'utf-8'),
contents: contents.replace(/\.\//g, '/')
contents
});

if (noop) {
Expand Down

0 comments on commit 0a1a0c2

Please sign in to comment.