[CORD-2188] Updated build to accomodate multi-stage build
Change-Id: Iff6b926acd125b6a960d6c6b5996cbe4c55e3f90
(cherry picked from commit 469cea459d09441441846626217282d09f154cb9)
diff --git a/conf/gulp.conf.js b/conf/gulp.conf.js
index 1721c87..ee29c80 100755
--- a/conf/gulp.conf.js
+++ b/conf/gulp.conf.js
@@ -36,7 +36,7 @@
*/
exports.paths = {
src: 'src',
- dist: 'dist/extensions/sample', // NOTE that 'sample' have to match the extension name provided in platform install
+ dist: 'dist',
appConfig: 'conf/app',
tmp: '.tmp',
e2e: 'e2e',
diff --git a/conf/webpack-dist.conf.js b/conf/webpack-dist.conf.js
index c870043..5f924fb 100755
--- a/conf/webpack-dist.conf.js
+++ b/conf/webpack-dist.conf.js
@@ -105,7 +105,10 @@
'.web.js',
'.js',
'.ts'
- ]
+ ],
+ alias: {
+ "ngprogress": path.resolve(__dirname, '../node_modules/ngprogress/build/ngProgress.js')
+ }
},
entry: {
app: `./${conf.path.src('index')}`,
diff --git a/conf/webpack.conf.js b/conf/webpack.conf.js
index d70e771..f0dbc51 100755
--- a/conf/webpack.conf.js
+++ b/conf/webpack.conf.js
@@ -99,7 +99,10 @@
'.web.js',
'.js',
'.ts'
- ]
+ ],
+ alias: {
+ "ngprogress": path.resolve(__dirname, '../node_modules/ngprogress/build/ngProgress.js')
+ }
},
entry: `./${conf.path.src('index')}`,
ts: {