aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-29 12:29:57 +0800
committerkumavis <aaron@kumavis.me>2018-03-29 12:29:57 +0800
commit253abd60fca5a6efb1a2e0ecbe305989a852ec32 (patch)
tree179773e462f77175a85d647e595f3f0f20e86abc /gulpfile.js
parentb88119c23851144448771e8a6de97e48fb96b2b0 (diff)
downloadtangerine-wallet-browser-253abd60fca5a6efb1a2e0ecbe305989a852ec32.tar
tangerine-wallet-browser-253abd60fca5a6efb1a2e0ecbe305989a852ec32.tar.gz
tangerine-wallet-browser-253abd60fca5a6efb1a2e0ecbe305989a852ec32.tar.bz2
tangerine-wallet-browser-253abd60fca5a6efb1a2e0ecbe305989a852ec32.tar.lz
tangerine-wallet-browser-253abd60fca5a6efb1a2e0ecbe305989a852ec32.tar.xz
tangerine-wallet-browser-253abd60fca5a6efb1a2e0ecbe305989a852ec32.tar.zst
tangerine-wallet-browser-253abd60fca5a6efb1a2e0ecbe305989a852ec32.zip
build - extension - move js files to toplevel
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 68618dfb4..cd523a107 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)