mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-12-26 00:21:36 +01:00
26 lines
561 B
JavaScript
26 lines
561 B
JavaScript
module.exports = {
|
|
presets: [
|
|
"@babel/preset-env",
|
|
"@babel/preset-react",
|
|
],
|
|
plugins: [
|
|
"@babel/plugin-transform-runtime",
|
|
"@babel/plugin-syntax-export-default-from",
|
|
["module-resolver", {
|
|
root: ["./src"],
|
|
alias: {
|
|
test: "./test",
|
|
underscore: "lodash",
|
|
},
|
|
}],
|
|
],
|
|
env: {
|
|
development: {
|
|
ignore: ["**/__tests__/**", "**/__mocks__/**"],
|
|
},
|
|
test: {
|
|
ignore: [],
|
|
},
|
|
},
|
|
};
|