mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-16 13:46:16 +02:00
Set modules.
This commit is contained in:
@ -1,9 +1,21 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
'@babel/preset-env',
|
||||
'@babel/preset-react',
|
||||
["@babel/preset-env", {
|
||||
targets: {
|
||||
esmodules: true,
|
||||
},
|
||||
}],
|
||||
"@babel/preset-react",
|
||||
],
|
||||
plugins: [
|
||||
'@babel/plugin-transform-runtime'
|
||||
]
|
||||
"@babel/plugin-syntax-export-default-from",
|
||||
"@babel/plugin-transform-runtime",
|
||||
["module-resolver", {
|
||||
root: ["./src"],
|
||||
alias: {
|
||||
test: "./test",
|
||||
underscore: "lodash",
|
||||
},
|
||||
}],
|
||||
],
|
||||
};
|
||||
|
Reference in New Issue
Block a user