File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
77const ExtractTextPlugin = require ( "extract-text-webpack-plugin" ) ;
88const { BundleAnalyzerPlugin } = require ( "webpack-bundle-analyzer" ) ;
99const { NativeScriptWorkerPlugin } = require ( "nativescript-worker-loader/NativeScriptWorkerPlugin" ) ;
10-
10+ const dropDownMangleExcludes = require ( "nativescript-drop-down/uglify-mangle-excludes" ) . default ;
1111
1212const mainSheet = `app.css` ;
1313
@@ -189,7 +189,7 @@ function getPlugins(platform, env) {
189189 // Work around an Android issue by setting compress = false
190190 const compress = platform !== "android" ;
191191 plugins . push ( new webpack . optimize . UglifyJsPlugin ( {
192- mangle : { except : nsWebpack . uglifyMangleExcludes } ,
192+ mangle : { except : nsWebpack . uglifyMangleExcludes . concat ( dropDownMangleExcludes ) } ,
193193 compress,
194194 } ) ) ;
195195 }
You can’t perform that action at this time.
0 commit comments