We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e428d2c commit 598634aCopy full SHA for 598634a
startup-test/app/starter.js
@@ -19,4 +19,4 @@ var timerEntry = {
19
20
global.timers.set("application-start", timerEntry);
21
22
-require("./index.js");
+require("./app.js");
startup-test/webpack.config.js
@@ -2,8 +2,11 @@ var path = require("path");
2
var webpack = require("webpack");
3
4
5
+console.log('PROJECT_DIR: ' + process.env.PROJECT_DIR);
6
+
7
module.exports = {
- context: "./platforms/android/src/main/assets/app",
8
+ //context: "./platforms/android/src/main/assets/app",
9
+ context: process.env.PROJECT_DIR,
10
entry: {
11
app: "./app",
12
},
@@ -38,5 +41,10 @@ module.exports = {
38
41
global: 'global',
39
42
__dirname: '__dirname'
40
43
}),
44
+ new webpack.optimize.UglifyJsPlugin({
45
+ compress: {
46
+ warnings: true
47
+ }
48
+ })
49
]
50
};
0 commit comments