diff options
author | kumavis <aaron@kumavis.me> | 2018-03-29 12:29:57 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-03-29 12:29:57 +0800 |
commit | 253abd60fca5a6efb1a2e0ecbe305989a852ec32 (patch) | |
tree | 179773e462f77175a85d647e595f3f0f20e86abc /gulpfile.js | |
parent | b88119c23851144448771e8a6de97e48fb96b2b0 (diff) | |
download | dexon-wallet-253abd60fca5a6efb1a2e0ecbe305989a852ec32.tar.gz dexon-wallet-253abd60fca5a6efb1a2e0ecbe305989a852ec32.tar.zst dexon-wallet-253abd60fca5a6efb1a2e0ecbe305989a852ec32.zip |
build - extension - move js files to toplevel
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js index 68618dfb..cd523a10 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -75,7 +75,7 @@ gulp.task('copy:fonts', copyTask({ })) gulp.task('copy:reload', copyTask({ source: './app/scripts/', - destinations: commonPlatforms.map(platform => `./dist/${platform}/scripts`), + destinations: commonPlatforms.map(platform => `./dist/${platform}`), pattern: '/chromereload.js', })) gulp.task('copy:html', copyTask({ @@ -243,10 +243,10 @@ function createTasksForBuildJsExtension({ buildJsFiles, taskPrefix, devMode, bun const nonInpageFiles = buildJsFiles.filter(file => file !== 'inpage') const buildPhase1 = ['inpage'] const buildPhase2 = nonInpageFiles - const destinations = browserPlatforms.map(platform => `./dist/${platform}/scripts`) + const destinations = browserPlatforms.map(platform => `./dist/${platform}`) bundleTaskOpts = Object.assign({ buildSourceMaps: true, - sourceMapDir: devMode ? './' : '../../sourcemaps', + sourceMapDir: devMode ? './' : '../sourcemaps', minifyBuild: !devMode, buildWithFullPaths: devMode, }, bundleTaskOpts) |