Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
windows 7 - babel7 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manpreetnarang authored and JZ6 committed Feb 26, 2020
1 parent fb9f755 commit 1c4c10d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ module.exports = {
use: [{
loader: "babel-loader",
query: {
presets: ["@babel/preset-env"]
presets: ["@babel/preset-env", "@babel/react"],
plugins: ["@babel/plugin-proposal-object-rest-spread", ["babel-plugin-root-import", { "rootPathSuffix": "src" }]]
}
},
{
Expand Down

0 comments on commit 1c4c10d

Please sign in to comment.