File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ module.exports = {
43
43
plugins: [
44
44
new HtmlWebpackPlugin (),
45
45
new HtmlInlineScriptPlugin ([
46
- / runtime~. + [. ] js/ ,
47
- / app~. + [. ] js/
46
+ / runtime~. + [. ] js$ / ,
47
+ / app~. + [. ] js$ /
48
48
]),
49
49
]
50
50
}
Original file line number Diff line number Diff line change 36
36
"@commitlint/config-conventional" : " ^12.0.0" ,
37
37
"@types/html-webpack-plugin" : " ^3.2.3" ,
38
38
"@types/jest" : " ^26.0.20" ,
39
- "@types/webpack" : " ^4.41.26" ,
40
39
"@types/webpack-sources" : " ^2.1.0" ,
41
40
"@typescript-eslint/eslint-plugin" : " ^4.0.0" ,
42
41
"@typescript-eslint/parser" : " ^4.15.2" ,
54
53
"typescript" : " ^4.1.3"
55
54
},
56
55
"peerDependencies" : {
56
+ "@types/webpack" : " ^4.41.28" ,
57
57
"html-webpack-plugin" : " ^4.0.0" ,
58
58
"webpack" : " ^4.0.0"
59
59
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class HtmlInlineScriptPlugin implements Plugin {
8
8
tests : RegExp [ ] ;
9
9
10
10
constructor ( tests ?: RegExp [ ] ) {
11
- this . tests = tests || [ / .+ [ . ] j s / ] ;
11
+ this . tests = tests || [ / .+ [ . ] j s $ / ] ;
12
12
}
13
13
14
14
isFileNeedsToBeInlined (
Original file line number Diff line number Diff line change 850
850
" @types/source-list-map" " *"
851
851
source-map "^0.7.3"
852
852
853
- " @types/webpack@^4" , "@types/webpack@^4.41.26" :
853
+ " @types/webpack@^4 " :
854
854
version "4.41.27"
855
855
resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.27.tgz#f47da488c8037e7f1b2dbf2714fbbacb61ec0ffc"
856
856
integrity sha512-wK/oi5gcHi72VMTbOaQ70VcDxSQ1uX8S2tukBK9ARuGXrYM/+u4ou73roc7trXDNmCxCoerE8zruQqX/wuHszA==
You can’t perform that action at this time.
0 commit comments