* Use typescript for vite config Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch shared-components to ESM Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove stale aliases Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove reference to element-web files from shared-components Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove spurious node polyfill Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
22 lines
661 B
JavaScript
22 lines
661 B
JavaScript
module.exports = {
|
|
sourceMaps: true,
|
|
presets: [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
include: ["@babel/plugin-transform-class-properties"],
|
|
},
|
|
],
|
|
["@babel/preset-typescript", { allowDeclareFields: true }],
|
|
"@babel/preset-react",
|
|
],
|
|
plugins: [
|
|
"@babel/plugin-proposal-export-default-from",
|
|
"@babel/plugin-transform-numeric-separator",
|
|
"@babel/plugin-transform-object-rest-spread",
|
|
"@babel/plugin-transform-optional-chaining",
|
|
"@babel/plugin-transform-nullish-coalescing-operator",
|
|
"@babel/plugin-transform-runtime",
|
|
],
|
|
};
|