W
W
webe2018-05-21 15:52:20
webpack
webe, 2018-05-21 15:52:20

How to move .babalrc to webpack config?

Есть такой конфиг:
{
  "presets": [
    "env",
    "stage-2",
    "react",
    "react-hmre"
  ],
  "plugins": [
    "transform-class-properties",
    "transform-object-rest-spread",
    
    ["babel-plugin-styled-components", {
      "displayName": true
    }]
  ]
}

how to move this case to webpack config?
"webpack": "^4.6.0",

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question