File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 29
29
"repository" : " https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop" ,
30
30
"bugs" : " https://github.com/pattern-lab/patternlab-node/issues" ,
31
31
"devDependencies" : {
32
+ "svgo" : " ^1.3.0" ,
32
33
"lit-element" : " ^2.2.1" ,
34
+ "svg-sprite-loader" : " ^4.1.6" ,
35
+ "svg-transform-loader" : " ^2.0.8" ,
36
+ "svgo-loader" : " ^2.2.1" ,
33
37
"@svgr/webpack" : " ^4.1.0" ,
34
38
"autoprefixer" : " ^9.1.0" ,
35
39
"babel-loader" : " ^8.0.2" ,
50
54
"postcss-loader" : " ^3.0.0" ,
51
55
"raw-loader" : " ^0.5.1" ,
52
56
"sass-loader" : " ^7.1.0" ,
53
- "style-loader" : " ^0.23.1 " ,
57
+ "style-loader" : " ^1.0.0 " ,
54
58
"uglifyjs-webpack-plugin" : " ^1.2.7" ,
55
59
"webpack" : " 4.26.0" ,
56
60
"webpack-cli" : " ^3.1.2" ,
80
84
"clipboard" : " ^2.0.1" ,
81
85
"core-js" : " ^3.1.4" ,
82
86
"deepmerge" : " ^2.1.1" ,
83
- "document-register-element" : " ^1.13 .3" ,
87
+ "document-register-element" : " ^1.14 .3" ,
84
88
"element-closest" : " 2.0.2" ,
85
89
"es6-promise" : " ^4.2.4" ,
86
90
"fg-loadcss" : " ^2.1.0" ,
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ module.exports = function() {
158
158
] ,
159
159
'@babel/plugin-proposal-optional-chaining' ,
160
160
[ '@babel/plugin-proposal-decorators' , { legacy : true } ] ,
161
- '@babel/plugin-proposal-class-properties' ,
161
+ [ '@babel/plugin-proposal-class-properties' , { loose : true } ] ,
162
162
'@babel/plugin-syntax-dynamic-import' ,
163
163
'@babel/plugin-syntax-jsx' /* [1] */ ,
164
164
[
@@ -177,9 +177,9 @@ module.exports = function() {
177
177
{
178
178
test : / \. s v g $ / ,
179
179
use : [
180
- {
181
- loader : '@svgr/webpack ',
182
- } ,
180
+ { loader : 'svg-sprite-loader' , options : { } } ,
181
+ 'svg-transform-loader ',
182
+ 'svgo-loader' ,
183
183
] ,
184
184
} ,
185
185
{
@@ -194,6 +194,7 @@ module.exports = function() {
194
194
use : [
195
195
{
196
196
loader : 'style-loader' ,
197
+ options : { injectType : 'lazyStyleTag' } ,
197
198
} ,
198
199
scssLoaders ,
199
200
] . reduce ( ( acc , val ) => acc . concat ( val ) , [ ] ) ,
You can’t perform that action at this time.
0 commit comments