From a83b521bdabe73bc2ca8486378a2be2ee7cfce47 Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Sun, 17 Oct 2021 21:08:01 +0530 Subject: [PATCH] :bug: paths.dist.js --- gulpfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 195bfab5e..9a83b601b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -31,6 +31,7 @@ const paths = { dist: { base: './dist/', css: './dist/css', + js: './dist/js', html: './dist/pages', assets: './dist/assets', vendor: './dist/vendor' @@ -188,7 +189,7 @@ const minifyDistJs = () => rollupTypescript() ] }).then(bundle => bundle.write({ - file: paths.temp.js + '/adminlte.js', + file: paths.dist.js + '/adminlte.js', format: 'umd', name: 'adminlte', sourcemap: true @@ -226,7 +227,7 @@ const copyDistJs = () => rollupTypescript() ] }).then(bundle => bundle.write({ - file: paths.temp.js + '/adminlte.js', + file: paths.dist.js + '/adminlte.js', format: 'umd', name: 'adminlte', sourcemap: true