Skip to content

Commit

Permalink
fix polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
machsix committed May 8, 2024
1 parent 423a82a commit 1ae0191
Show file tree
Hide file tree
Showing 8 changed files with 9,225 additions and 3,227 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
env:
CI: 'true'
with:
args: pnpm test
args: npm test
doc:
runs-on: ubuntu-latest
steps:
Expand Down
14 changes: 9 additions & 5 deletions .babelrc → babel.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"plugins": [
"lodash",
"@babel/plugin-transform-async-to-generator",
[
"@babel/plugin-syntax-import-attributes",
{
Expand All @@ -10,25 +11,28 @@
[
"@babel/plugin-transform-runtime",
{
// "corejs": 2,
"regenerator": true,
"helpers": true,
"corejs": 3,
"useESModules": true,
"proposals": false
}
],
[
"wildcard",
{
"noModifyCase": true,
"exts": ["ejs", "css", "scss"]
"exts": [
"ejs",
"css",
"scss"
]
}
]
],
"presets": [
[
"@babel/preset-env",
{
"modules": false,
"modules": "auto",
"debug": false
}
]
Expand Down
Loading

0 comments on commit 1ae0191

Please sign in to comment.