|
@@ -22,12 +22,12 @@ var definePlugin = new webpack.DefinePlugin({
|
|
|
|
|
|
var outpath = './webpack/';
|
|
|
|
|
|
-if (process.env.CORDOVA && process.env.CORDOVA === true) {
|
|
|
- outpath = 'www/';
|
|
|
+if (process.env.CORDOVA === true) {
|
|
|
+ outpath = './www/';
|
|
|
console.log('CORDOVA environment : output in ',outpath);
|
|
|
-} else if (process.env.WEB && process.env.WEB === true) {
|
|
|
+} else if (process.env.WEB === true) {
|
|
|
+ outpath = './www_web/';
|
|
|
console.log('WEB environment : output in ',outpath);
|
|
|
- outpath = 'www_web/';
|
|
|
} else {
|
|
|
console.log('DEV env : output in ', outpath);
|
|
|
}
|