Skip to content

Commit d40041f

Browse files
committed
exclude deps manually
1 parent eaae619 commit d40041f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

template/build/config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ module.exports = {
88
// otherwise only set to absolute path when you're using history mode
99
publicPath: '{{#if electron}}.{{/if}}/',
1010
// add these dependencies to a standalone vendor bundle
11-
vendor: Object.keys(pkg.dependencies),
11+
vendor: [
12+
'vue',
13+
'vuex',
14+
'vue-router',
15+
'vuex-router-sync',
16+
'promise-polyfill'
17+
],
1218
// disable babelrc by default
1319
babel: {
1420
babelrc: false,

0 commit comments

Comments
 (0)