use webm-duration-fix to add SeekHead, use code splitting

This commit is contained in:
or-else
2022-12-04 11:25:06 -08:00
parent d54e4a8153
commit d0a23b0792
9 changed files with 165 additions and 8629 deletions
+1 -1
View File
@@ -26,6 +26,7 @@ module.exports = (env, argv) => {
publicPath: '/umd/'
},
optimization: {
runtimeChunk: 'single',
minimize: (mode === 'prod'),
minimizer: [
new TerserPlugin({
@@ -63,7 +64,6 @@ module.exports = (env, argv) => {
}),
],
externals: {
// 'fix-webm-duration': 'fixWebmDuration',
'react': 'React',
'react-dom': 'ReactDOM',
'react-intl': 'ReactIntl',