@@ -8,7 +8,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
88const { BundleAnalyzerPlugin } = require ( "webpack-bundle-analyzer" ) ;
99const { NativeScriptWorkerPlugin } = require ( "nativescript-worker-loader/NativeScriptWorkerPlugin" ) ;
1010const UglifyJsPlugin = require ( "uglifyjs-webpack-plugin" ) ;
11- const hashSalt = Date . now ( ) . toString ( ) ;
11+ const hashSalt = Date . now ( ) . toString ( ) ;
1212
1313module . exports = env => {
1414 // Add your custom Activities, Services and other android app components here.
@@ -113,7 +113,7 @@ module.exports = env => {
113113 test : ( module , chunks ) => {
114114 const moduleName = module . nameForCondition ? module . nameForCondition ( ) : '' ;
115115 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 ) ;
117117
118118 } ,
119119 enforce : true ,
@@ -177,17 +177,17 @@ module.exports = env => {
177177 use : "nativescript-dev-webpack/markup-hot-loader"
178178 } ,
179179
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" } ,
181181
182182 {
183183 test : / \. c s s $ / ,
184- use : { loader : "css-loader" , options : { minimize : false , url : false } }
184+ use : { loader : "css-loader" , options : { url : false } }
185185 } ,
186186
187187 {
188188 test : / \. s c s s $ / ,
189189 use : [
190- { loader : "css-loader" , options : { minimize : false , url : false } } ,
190+ { loader : "css-loader" , options : { url : false } } ,
191191 "sass-loader"
192192 ]
193193 } ,
@@ -200,7 +200,7 @@ module.exports = env => {
200200 "process" : undefined ,
201201 } ) ,
202202 // Remove all files from the out dir.
203- new CleanWebpackPlugin ( [ `${ dist } /**/*` ] ) ,
203+ new CleanWebpackPlugin ( [ `${ dist } /**/*` ] ) ,
204204 // Copy assets to out dir. Add your own globs as needed.
205205 new CopyWebpackPlugin ( [
206206 { from : { glob : "fonts/**" } } ,
@@ -213,10 +213,10 @@ module.exports = env => {
213213 // configures the WebPack runtime to be generated inside the snapshot
214214 // module and no `runtime.js` module exist.
215215 ( snapshot ? [ ] : [ "./runtime" ] )
216- . concat ( [
217- "./vendor" ,
218- "./bundle" ,
219- ] )
216+ . concat ( [
217+ "./vendor" ,
218+ "./bundle" ,
219+ ] )
220220 ) ,
221221 // For instructions on how to set up workers with webpack
222222 // check out https://github.com/nativescript/worker-loader
0 commit comments