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
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -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',
],
}, },
}, },
}, },