Move module resolution config to webpack
This commit is contained in:
13
.babelrc
13
.babelrc
@@ -2,17 +2,6 @@
|
||||
"presets": ["@babel/preset-env", "@babel/preset-react"],
|
||||
"plugins": [
|
||||
["@babel/plugin-proposal-decorators", { "legacy": true }],
|
||||
["@babel/plugin-proposal-class-properties", { "loose": true }],
|
||||
[
|
||||
"module-resolver",
|
||||
{
|
||||
"root": [
|
||||
"./src/js"
|
||||
],
|
||||
"alias": {
|
||||
"images": "./src/images"
|
||||
}
|
||||
}
|
||||
]
|
||||
["@babel/plugin-proposal-class-properties", { "loose": true }]
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user