Commit d7992a5e authored by NGPixel's avatar NGPixel Committed by Nicolas Giard

fix: fusebox bundle rebuild bug

parent 4adf994c
...@@ -83,6 +83,7 @@ globalTasks.then(() => { ...@@ -83,6 +83,7 @@ globalTasks.then(() => {
homeDir: './client', homeDir: './client',
output: './assets/js/$name.min.js', output: './assets/js/$name.min.js',
alias: ALIASES, alias: ALIASES,
shim: SHIMS,
plugins: [ plugins: [
fsbx.EnvPlugin({ NODE_ENV: (dev) ? 'development' : 'production' }), fsbx.EnvPlugin({ NODE_ENV: (dev) ? 'development' : 'production' }),
fsbx.VuePlugin(), fsbx.VuePlugin(),
...@@ -105,7 +106,8 @@ globalTasks.then(() => { ...@@ -105,7 +106,8 @@ globalTasks.then(() => {
}) })
} }
const bundleApp = fuse.bundle('app').shim(SHIMS).instructions('> index.js') const bundleVendor = fuse.bundle('vendor').instructions('~ index.js')
const bundleApp = fuse.bundle('app').instructions('!> [index.js]')
const bundleSetup = fuse.bundle('configure').instructions('> configure.js') const bundleSetup = fuse.bundle('configure').instructions('> configure.js')
switch (mode) { switch (mode) {
......
...@@ -18,7 +18,7 @@ html(data-logic='login') ...@@ -18,7 +18,7 @@ html(data-logic='login')
link(rel='manifest', href='/manifest.json') link(rel='manifest', href='/manifest.json')
// JS / CSS // JS / CSS
//- script(type='text/javascript', src='/js/libs.min.js') script(type='text/javascript', src='/js/vendor.min.js')
script(type='text/javascript', src='/js/app.min.js') script(type='text/javascript', src='/js/app.min.js')
body body
......
...@@ -23,7 +23,7 @@ html ...@@ -23,7 +23,7 @@ html
var siteRoot = '!{appconfig.host}'; var siteRoot = '!{appconfig.host}';
//- JS / CSS //- JS / CSS
//- script(type='text/javascript', src='/js/libs.min.js') script(type='text/javascript', src='/js/vendor.min.js')
script(type='text/javascript', src='/js/app.min.js') script(type='text/javascript', src='/js/app.min.js')
block head block head
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment