Skip to content

Commit

Permalink
adjust babel config for testing in consuming packages (#21)
Browse files Browse the repository at this point in the history
# Thanks for opening a Pull Request

## Changes

Are there any breaking changes you are aware of in the PR?

No

## General Checklist

* [ ] Change is tested locally
* [ ] Demo is updated to exercise change (if applicable)
* [ ] [WIP] flag is removed from the title

[1]:https://docs.npmjs.com/about-semantic-versioning
[2]:https://docs.npmjs.com/cli/deprecate

[3]:https://github.com/meltwater/applet-orchard/blob/master/docs/README.md
  • Loading branch information
mattquinlan440 authored Aug 18, 2023
1 parent 702318b commit 971ec2e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@
}
}
]
],
"plugins": [
["@babel/plugin-transform-modules-commonjs", {
"loose": true
}]
]
}
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"devDependencies": {
"@babel/cli": "7.22.10",
"@babel/core": "7.22.10",
"@babel/plugin-transform-modules-commonjs": "7.22.5",
"@babel/preset-env": "7.22.10",
"@babel/register": "7.22.5",
"eslint": "8.46.0",
Expand Down

0 comments on commit 971ec2e

Please sign in to comment.