@henderea/static-site-builder 1.11.8 → 1.11.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -223,11 +223,17 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
223
223
|
test: /\.css$/,
|
|
224
224
|
use: [
|
|
225
225
|
require.resolve('style-loader'),
|
|
226
|
-
|
|
226
|
+
{
|
|
227
|
+
loader: require.resolve('css-loader'),
|
|
228
|
+
options: {
|
|
229
|
+
sourceMap: true,
|
|
230
|
+
}
|
|
231
|
+
},
|
|
227
232
|
{
|
|
228
233
|
loader: require.resolve('postcss-loader'),
|
|
229
234
|
options: {
|
|
230
|
-
postcssOptions
|
|
235
|
+
postcssOptions,
|
|
236
|
+
sourceMap: true
|
|
231
237
|
}
|
|
232
238
|
}
|
|
233
239
|
]
|
|
@@ -236,14 +242,27 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
236
242
|
test: /\.scss$/,
|
|
237
243
|
use: [
|
|
238
244
|
require.resolve('style-loader'),
|
|
239
|
-
|
|
245
|
+
{
|
|
246
|
+
loader: require.resolve('css-loader'),
|
|
247
|
+
options: {
|
|
248
|
+
importLoaders: 1,
|
|
249
|
+
sourceMap: true
|
|
250
|
+
}
|
|
251
|
+
},
|
|
240
252
|
{
|
|
241
253
|
loader: require.resolve('postcss-loader'),
|
|
242
254
|
options: {
|
|
243
|
-
postcssOptions
|
|
255
|
+
postcssOptions,
|
|
256
|
+
sourceMap: true
|
|
244
257
|
}
|
|
245
258
|
},
|
|
246
|
-
|
|
259
|
+
{
|
|
260
|
+
loader: require.resolve('sass-loader'),
|
|
261
|
+
options: {
|
|
262
|
+
implementation: require.resolve('sass'),
|
|
263
|
+
sourceMap: true
|
|
264
|
+
}
|
|
265
|
+
}
|
|
247
266
|
]
|
|
248
267
|
},
|
|
249
268
|
{
|
|
@@ -355,7 +355,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
355
355
|
loader: require.resolve('css-loader'),
|
|
356
356
|
options: {
|
|
357
357
|
importLoaders: 1,
|
|
358
|
-
sourceMap: true
|
|
358
|
+
sourceMap: true
|
|
359
359
|
}
|
|
360
360
|
},
|
|
361
361
|
{
|
|
@@ -371,6 +371,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
371
371
|
sassOptions: {
|
|
372
372
|
outputStyle: 'compressed'
|
|
373
373
|
},
|
|
374
|
+
implementation: require.resolve('sass'),
|
|
374
375
|
sourceMap: true
|
|
375
376
|
}
|
|
376
377
|
}
|