Created
December 2, 2020 02:37
-
-
Save JBreit/e4cb10a3bd5a4b1bb5826fce3bd36d83 to your computer and use it in GitHub Desktop.
Babel Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": [ | |
["@babel/preset-env", { | |
"modules": false, | |
"useBuiltIns": "usage", | |
"targets": { | |
"esmodules": true | |
} | |
}], | |
"@babel/preset-modules", | |
"@babel/preset-react" | |
], | |
"plugins": [ | |
"@babel/plugin-syntax-dynamic-import", | |
"@babel/plugin-transform-modules-commonjs", | |
"@babel/plugin-transform-template-literals", | |
"@babel/plugin-transform-spread", | |
["module-resolver", { | |
"root": ["./"], | |
"alias": { | |
"application": "./src/application", | |
"config": "./config", | |
"domain": "./src/domain", | |
"infrastructure": "./src/infrastructure", | |
"interface": "./src/interface", | |
"src": "./src", | |
"test": "./test" | |
} | |
}] | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment