Merge pull request #12181 from MoonE/webpack-fix-ie11
Build for ie11 again
This commit is contained in:
@@ -3,6 +3,7 @@ module.exports = {
|
||||
entry: './build/index.js',
|
||||
devtool: 'source-map',
|
||||
mode: 'production',
|
||||
target: ['web', 'es5'],
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ const src = path.join(__dirname, '..');
|
||||
|
||||
module.exports = {
|
||||
context: src,
|
||||
target: 'web',
|
||||
target: ['web', 'es5'],
|
||||
entry: () => {
|
||||
const entry = {};
|
||||
fs.readdirSync(src)
|
||||
|
||||
Reference in New Issue
Block a user