Browse Source

Does setting es5 web target help?

jsbundling-with-webpack-modernizr
baarkerlounger 3 years ago
parent
commit
59be605296
  1. 4
      webpack.config.js

4
webpack.config.js

@ -9,9 +9,6 @@ const mode = process.env.NODE_ENV === 'development' ? 'development' : 'productio
module.exports = { module.exports = {
mode, mode,
optimization: {
moduleIds: 'deterministic'
},
devtool: "source-map", devtool: "source-map",
entry: { entry: {
application: [ application: [
@ -22,6 +19,7 @@ module.exports = {
'./app/frontend/styles/active_admin.scss' './app/frontend/styles/active_admin.scss'
] ]
}, },
target: ['web', 'es5'],
module: { module: {
rules: [ rules: [
{ {

Loading…
Cancel
Save