1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-16 13:46:16 +02:00

Add module resolver plugin.

This commit is contained in:
Bogdan Bodnar
2019-08-28 10:10:49 +02:00
parent e9910f269f
commit 2173770ebc
6 changed files with 47 additions and 2 deletions

View File

@ -6,5 +6,12 @@ module.exports = {
plugins: [
"@babel/plugin-transform-runtime",
"@babel/plugin-syntax-export-default-from",
["module-resolver", {
root: ["./src"],
alias: {
test: "./test",
underscore: "lodash",
},
}],
],
};