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