fix: fusebox bundle rebuild bug

pull/166/head
NGPixel 8 years ago committed by Nicolas Giard
parent 4adf994c90
commit d7992a5e19

@ -83,6 +83,7 @@ globalTasks.then(() => {
homeDir: './client',
output: './assets/js/$name.min.js',
alias: ALIASES,
shim: SHIMS,
plugins: [
fsbx.EnvPlugin({ NODE_ENV: (dev) ? 'development' : 'production' }),
fsbx.VuePlugin(),
@ -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')
switch (mode) {

@ -18,7 +18,7 @@ html(data-logic='login')
link(rel='manifest', href='/manifest.json')
// 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')
body

@ -23,7 +23,7 @@ html
var siteRoot = '!{appconfig.host}';
//- 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')
block head

Loading…
Cancel
Save