Merge pull request #12181 from MoonE/webpack-fix-ie11

Build for ie11 again
This commit is contained in:
MoonE
2021-04-05 10:55:14 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ module.exports = {
entry: './build/index.js',
devtool: 'source-map',
mode: 'production',
target: ['web', 'es5'],
module: {
rules: [
{

View File

@@ -8,7 +8,7 @@ const src = path.join(__dirname, '..');
module.exports = {
context: src,
target: 'web',
target: ['web', 'es5'],
entry: () => {
const entry = {};
fs.readdirSync(src)