Make sure highlight.js is always lazy-loaded
This commit is contained in:
parent
9c6369e8d8
commit
38bc377323
1 changed files with 4 additions and 1 deletions
|
@ -82,7 +82,7 @@ module.exports = {
|
||||||
build: {
|
build: {
|
||||||
target: 'es2015',
|
target: 'es2015',
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
plugins:[
|
plugins: [
|
||||||
visualizer(),
|
visualizer(),
|
||||||
],
|
],
|
||||||
output: {
|
output: {
|
||||||
|
@ -98,6 +98,9 @@ module.exports = {
|
||||||
'./src/views/teams/EditTeam',
|
'./src/views/teams/EditTeam',
|
||||||
'./src/views/teams/NewTeam',
|
'./src/views/teams/NewTeam',
|
||||||
],
|
],
|
||||||
|
'highlight': [
|
||||||
|
'highlight.js',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue