-
Notifications
You must be signed in to change notification settings - Fork 3
/
babel.config.js
32 lines (32 loc) · 1.1 KB
/
babel.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module.exports = {
presets: ["airbnb", ["@vue/app", { useBuiltIns: "entry" }]],
plugins: [
["@babel/plugin-transform-runtime", { corejs: 3 }],
"@babel/plugin-transform-async-to-generator",
"@babel/plugin-syntax-dynamic-import",
["@babel/plugin-proposal-decorators", { legacy: true }],
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-export-default-from",
["@babel/plugin-proposal-pipeline-operator", { proposal: "minimal" }],
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-optional-chaining",
["babel-plugin-ramda", { useES: true }],
[
"module-resolver",
{
/** Module aliases. */
alias: {
// Util
Util: "./src/util",
Traverse: "./src/util/traverse",
Examples: "./src/util/examples",
ResolveRDFJSTerm: "./src/util/resolveRDFJSTerm",
// Translate
ShaclDictionary: "./src/translation/shaclDictionary",
ShaclTranslator: "./src/translation/shaclTranslator"
}
}
]
]
};