style loader support
This commit is contained in:
parent
4dccf699aa
commit
3b48cf585d
@ -9,6 +9,7 @@
|
|||||||
"imagemin-webpack-plugin": "^2.4.2",
|
"imagemin-webpack-plugin": "^2.4.2",
|
||||||
"jsdom": "^15.2.1",
|
"jsdom": "^15.2.1",
|
||||||
"prerender-spa-plugin": "^3.4.0",
|
"prerender-spa-plugin": "^3.4.0",
|
||||||
|
"style-loader": "^1.1.3",
|
||||||
"tempy": "^0.3.0",
|
"tempy": "^0.3.0",
|
||||||
"terser-webpack-plugin": "^2.3.4",
|
"terser-webpack-plugin": "^2.3.4",
|
||||||
"webpack": "^4.41.6",
|
"webpack": "^4.41.6",
|
||||||
|
14
pnpm-lock.yaml
generated
14
pnpm-lock.yaml
generated
@ -8,6 +8,7 @@ dependencies:
|
|||||||
imagemin-webpack-plugin: 2.4.2
|
imagemin-webpack-plugin: 2.4.2
|
||||||
jsdom: 15.2.1
|
jsdom: 15.2.1
|
||||||
prerender-spa-plugin: 3.4.0
|
prerender-spa-plugin: 3.4.0
|
||||||
|
style-loader: 1.1.3_webpack@4.41.6
|
||||||
tempy: 0.3.0
|
tempy: 0.3.0
|
||||||
terser-webpack-plugin: 2.3.4_webpack@4.41.6
|
terser-webpack-plugin: 2.3.4_webpack@4.41.6
|
||||||
webpack: 4.41.6_webpack@4.41.6
|
webpack: 4.41.6_webpack@4.41.6
|
||||||
@ -7203,6 +7204,18 @@ packages:
|
|||||||
node: '>=0.10.0'
|
node: '>=0.10.0'
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==
|
integrity: sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==
|
||||||
|
/style-loader/1.1.3_webpack@4.41.6:
|
||||||
|
dependencies:
|
||||||
|
loader-utils: 1.2.3
|
||||||
|
schema-utils: 2.6.4
|
||||||
|
webpack: 4.41.6_webpack@4.41.6
|
||||||
|
dev: false
|
||||||
|
engines:
|
||||||
|
node: '>= 8.9.0'
|
||||||
|
peerDependencies:
|
||||||
|
webpack: ^4.0.0 || ^5.0.0
|
||||||
|
resolution:
|
||||||
|
integrity: sha512-rlkH7X/22yuwFYK357fMN/BxYOorfnfq0eD7+vqlemSK4wEcejFF1dg4zxP0euBW8NrYx2WZzZ8PPFevr7D+Kw==
|
||||||
/supports-color/2.0.0:
|
/supports-color/2.0.0:
|
||||||
dev: false
|
dev: false
|
||||||
engines:
|
engines:
|
||||||
@ -8381,6 +8394,7 @@ specifiers:
|
|||||||
imagemin-webpack-plugin: ^2.4.2
|
imagemin-webpack-plugin: ^2.4.2
|
||||||
jsdom: ^15.2.1
|
jsdom: ^15.2.1
|
||||||
prerender-spa-plugin: ^3.4.0
|
prerender-spa-plugin: ^3.4.0
|
||||||
|
style-loader: ^1.1.3
|
||||||
tempy: ^0.3.0
|
tempy: ^0.3.0
|
||||||
terser-webpack-plugin: ^2.3.4
|
terser-webpack-plugin: ^2.3.4
|
||||||
webpack: ^4.41.6
|
webpack: ^4.41.6
|
||||||
|
@ -161,7 +161,11 @@ module.exports = (env, argv) => ({
|
|||||||
minimize: true,
|
minimize: true,
|
||||||
...htmlMin
|
...htmlMin
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
test: /\.css$/i,
|
||||||
|
use: ['style-loader'],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
|
Loading…
Reference in New Issue
Block a user