Build for ie11 again

This commit is contained in:
Maximilian Krög
2021-04-05 02:55:17 +02:00
parent 6f7b6c8141
commit 9d773c8f19
2 changed files with 2 additions and 1 deletions

View File

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

View File

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