chore: separate polyfill

This commit is contained in:
surunzi
2023-04-01 22:46:01 +08:00
parent a23ce022f7
commit 8da9d0e87a
5 changed files with 15 additions and 5 deletions

10
build/webpack.polyfill.js Normal file
View File

@@ -0,0 +1,10 @@
const path = require('path')
module.exports = {
mode: 'production',
entry: './src/polyfill',
output: {
path: path.resolve(__dirname, '../dist'),
filename: 'eruda-polyfill.js',
},
}