Build for ie11 again
This commit is contained in:
@@ -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: [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user