Remove IE workarounds for legacy build, examples, and workers

This commit is contained in:
Tim Schaub
2022-08-16 10:19:59 -06:00
parent fcab3166b1
commit a166b1da51
4 changed files with 10 additions and 37 deletions

View File

@@ -2,30 +2,10 @@ import TerserPlugin from 'terser-webpack-plugin';
import path from 'path';
export default {
entry: ['regenerator-runtime/runtime', './build/index.js'],
entry: './build/index.js',
devtool: 'source-map',
mode: 'production',
target: ['web', 'es5'],
module: {
rules: [
{
test: /\.m?js$/,
use: {
loader: 'babel-loader',
options: {
presets: [
[
'@babel/preset-env',
{
targets: 'last 2 versions, not dead',
},
],
],
},
},
},
],
},
target: ['browserslist'],
resolve: {
fallback: {
fs: false,