We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a967440 commit 7539425Copy full SHA for 7539425
README.md
@@ -60,8 +60,8 @@ module.exports = {
60
plugins: [
61
new HtmlWebpackPlugin(),
62
new HtmlInlineScriptPlugin([
63
- /runtime~.+[.]js/,
64
- /app~.+[.]js/
+ /runtime~.+[.]js$/,
+ /app~.+[.]js$/
65
]),
66
]
67
}
src/HtmlInlineScriptPlugin.ts
@@ -8,7 +8,7 @@ class HtmlInlineScriptPlugin implements WebpackPluginInstance {
8
tests: RegExp[];
9
10
constructor(tests?: RegExp[]) {
11
- this.tests = tests || [/.+[.]js/];
+ this.tests = tests || [/.+[.]js$/];
12
13
14
isFileNeedsToBeInlined(
0 commit comments