Make sure highlight.js is always lazy-loaded

This commit is contained in:
kolaente 2021-08-17 21:17:31 +02:00
parent 9c6369e8d8
commit 38bc377323
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 1 deletions

View File

@ -82,7 +82,7 @@ module.exports = {
build: {
target: 'es2015',
rollupOptions: {
plugins:[
plugins: [
visualizer(),
],
output: {
@ -98,6 +98,9 @@ module.exports = {
'./src/views/teams/EditTeam',
'./src/views/teams/NewTeam',
],
'highlight': [
'highlight.js',
],
},
},
},