mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
build: improve webpack config (#3463)
This commit is contained in:
@@ -256,9 +256,9 @@ export const createConfiguration: (
|
||||
new HTMLPlugin({
|
||||
template: join(rootPath, '.webpack', 'template.html'),
|
||||
inject: 'body',
|
||||
scriptLoading: 'defer',
|
||||
scriptLoading: 'module',
|
||||
minify: false,
|
||||
chunks: ['index', 'plugin'],
|
||||
chunks: ['index', 'plugin', 'polyfill-ses'],
|
||||
filename: 'index.html',
|
||||
}),
|
||||
new VanillaExtractPlugin(),
|
||||
|
||||
Reference in New Issue
Block a user