@@ -8,7 +8,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
8
8
const { BundleAnalyzerPlugin } = require ( "webpack-bundle-analyzer" ) ;
9
9
const { NativeScriptWorkerPlugin } = require ( "nativescript-worker-loader/NativeScriptWorkerPlugin" ) ;
10
10
const UglifyJsPlugin = require ( "uglifyjs-webpack-plugin" ) ;
11
- const hashSalt = Date . now ( ) . toString ( ) ;
11
+ const hashSalt = Date . now ( ) . toString ( ) ;
12
12
13
13
module . exports = env => {
14
14
// Add your custom Activities, Services and other android app components here.
@@ -113,7 +113,7 @@ module.exports = env => {
113
113
test : ( module , chunks ) => {
114
114
const moduleName = module . nameForCondition ? module . nameForCondition ( ) : '' ;
115
115
return / [ \\ / ] n o d e _ m o d u l e s [ \\ / ] / . test ( moduleName ) ||
116
- appComponents . some ( comp => comp === moduleName ) ;
116
+ appComponents . some ( comp => comp === moduleName ) ;
117
117
118
118
} ,
119
119
enforce : true ,
@@ -177,17 +177,17 @@ module.exports = env => {
177
177
use : "nativescript-dev-webpack/markup-hot-loader"
178
178
} ,
179
179
180
- { test : / \. ( h t m l | x m l ) $ / , use : "nativescript-dev-webpack/xml-namespace-loader" } ,
180
+ { test : / \. ( h t m l | x m l ) $ / , use : "nativescript-dev-webpack/xml-namespace-loader" } ,
181
181
182
182
{
183
183
test : / \. c s s $ / ,
184
- use : { loader : "css-loader" , options : { minimize : false , url : false } }
184
+ use : { loader : "css-loader" , options : { url : false } }
185
185
} ,
186
186
187
187
{
188
188
test : / \. s c s s $ / ,
189
189
use : [
190
- { loader : "css-loader" , options : { minimize : false , url : false } } ,
190
+ { loader : "css-loader" , options : { url : false } } ,
191
191
"sass-loader"
192
192
]
193
193
} ,
@@ -200,7 +200,7 @@ module.exports = env => {
200
200
"process" : undefined ,
201
201
} ) ,
202
202
// Remove all files from the out dir.
203
- new CleanWebpackPlugin ( [ `${ dist } /**/*` ] ) ,
203
+ new CleanWebpackPlugin ( [ `${ dist } /**/*` ] ) ,
204
204
// Copy assets to out dir. Add your own globs as needed.
205
205
new CopyWebpackPlugin ( [
206
206
{ from : { glob : "fonts/**" } } ,
@@ -213,10 +213,10 @@ module.exports = env => {
213
213
// configures the WebPack runtime to be generated inside the snapshot
214
214
// module and no `runtime.js` module exist.
215
215
( snapshot ? [ ] : [ "./runtime" ] )
216
- . concat ( [
217
- "./vendor" ,
218
- "./bundle" ,
219
- ] )
216
+ . concat ( [
217
+ "./vendor" ,
218
+ "./bundle" ,
219
+ ] )
220
220
) ,
221
221
// For instructions on how to set up workers with webpack
222
222
// check out https://github.com/nativescript/worker-loader
0 commit comments