Skip to content

Commit

Permalink
chore: update build env
Browse files Browse the repository at this point in the history
  • Loading branch information
WoodNeck committed Nov 9, 2020
1 parent f2f9185 commit 1dc2e60
Show file tree
Hide file tree
Showing 33 changed files with 14,441 additions and 13,270 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.md

This file was deleted.

44 changes: 22 additions & 22 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
module.exports = function(api) {
api.cache(true);
const presets = [
[
"@babel/preset-env",
{
"loose": true,
"modules": false
}
]
];
const plugins = [
"no-side-effect-class-properties",
["@babel/plugin-proposal-class-properties", {"loose": true}],
"transform-es3-property-literals",
"transform-es3-member-expression-literals",
"transform-object-assign",
"es6-promise-esm"
];
api.cache(true);
const presets = [
[
"@babel/preset-env",
{
"loose": true,
"modules": false
}
]
];
const plugins = [
"no-side-effect-class-properties",
["@babel/plugin-proposal-class-properties", {"loose": true}],
"transform-es3-property-literals",
"transform-es3-member-expression-literals",
"transform-object-assign",
"es6-promise-esm"
];

return {
presets,
plugins
};
return {
presets,
plugins
};
};
Loading

0 comments on commit 1dc2e60

Please sign in to comment.