Skip to content

Commit

Permalink
chore: optimize pkg script
Browse files Browse the repository at this point in the history
  • Loading branch information
shuntian committed Feb 3, 2023
1 parent a90dbe9 commit cb914b1
Show file tree
Hide file tree
Showing 4 changed files with 8,104 additions and 72 deletions.
5 changes: 4 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"presets": [ "@babel/preset-env" ],
"plugins": [ "@babel/plugin-transform-modules-commonjs" ]
"plugins": [
"@babel/plugin-transform-modules-commonjs",
"@babel/plugin-transform-runtime"
]
}
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module.exports = {
"env": {
"browser": true,
"es2021": true
"es2021": true,
"node": true,
},
"extends": "eslint:recommended",
"parserOptions": {
Expand Down
Loading

0 comments on commit cb914b1

Please sign in to comment.