Skip to content
Discussion options

You must be logged in to vote

If in the event of someone else getting stuck on this issue again in the future, I found a solution to address this problem: browserslist.
You could just add this to your package.json:

  "browserslist": [
    "defaults"
  ],

Webpack will pick it up and will update its'babel-loader' -> 'targets'with whatever settings you put in the 'browserslist' node.

Hope it helps someone in the future.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by skylarrikin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants