1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-12-26 00:21:36 +01:00
foris-js/babel.config.js

26 lines
561 B
JavaScript
Raw Normal View History

2019-08-21 17:04:26 +02:00
module.exports = {
presets: [
2019-08-27 17:46:45 +02:00
"@babel/preset-env",
2019-08-27 11:54:57 +02:00
"@babel/preset-react",
2019-08-21 17:04:26 +02:00
],
plugins: [
2019-08-27 11:54:57 +02:00
"@babel/plugin-transform-runtime",
2019-08-27 16:42:33 +02:00
"@babel/plugin-syntax-export-default-from",
2019-08-28 10:10:49 +02:00
["module-resolver", {
root: ["./src"],
alias: {
test: "./test",
underscore: "lodash",
},
}],
2019-08-27 11:54:57 +02:00
],
2019-10-30 17:06:53 +01:00
env: {
development: {
2019-11-01 10:28:28 +01:00
ignore: ["**/__tests__/**", "**/__mocks__/**"],
2019-10-30 17:06:53 +01:00
},
test: {
2019-11-01 10:28:28 +01:00
ignore: [],
2019-10-30 17:06:53 +01:00
},
},
2019-08-21 17:04:26 +02:00
};