@lightscale/webpack-config 1.0.5 → 1.0.6
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.
- package/index.js +10 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -116,7 +116,12 @@ export const makeConfig = (env, argv, options) => {
|
|
|
116
116
|
const isProd = argv.mode === 'production',
|
|
117
117
|
isDev = argv.mode === 'development',
|
|
118
118
|
isWatch = typeof argv.watch !== 'undefined' && argv.watch === true,
|
|
119
|
-
{paths,
|
|
119
|
+
{paths,
|
|
120
|
+
entry,
|
|
121
|
+
plugins = [],
|
|
122
|
+
manifestCustomize = (e) => e,
|
|
123
|
+
sassOptions = {}
|
|
124
|
+
} = options;
|
|
120
125
|
|
|
121
126
|
return {
|
|
122
127
|
entry,
|
|
@@ -204,7 +209,10 @@ export const makeConfig = (env, argv, options) => {
|
|
|
204
209
|
postcssOptions: postCssConfig
|
|
205
210
|
}
|
|
206
211
|
},
|
|
207
|
-
|
|
212
|
+
{
|
|
213
|
+
loader: 'sass-loader',
|
|
214
|
+
options: sassOptions,
|
|
215
|
+
},
|
|
208
216
|
],
|
|
209
217
|
},
|
|
210
218
|
],
|