Skip to content

Commit 5b63fc6

Browse files
authored
Prefer peer's version for Babel packages if available (#17)
1 parent 14652ec commit 5b63fc6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "transform-async-modules-webpack-plugin",
33
"description": "A Webpack plugin to transpile async module output using Babel. Allows transpiling top level await to ES5.",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
55
"license": "MIT",
66
"homepage": "https://github.com/steverep/transform-async-modules-webpack-plugin",
77
"keywords": [
@@ -55,6 +55,8 @@
5555
"@babel/preset-env": "^7.13.0"
5656
},
5757
"peerDependencies": {
58+
"@babel/core": "^7.13.0",
59+
"@babel/preset-env": "^7.13.0",
5860
"webpack": "^5.0.0"
5961
},
6062
"devDependencies": {

yarn.lock

+2
Original file line numberDiff line numberDiff line change
@@ -4505,6 +4505,8 @@ __metadata:
45054505
typescript: "npm:5.4.2"
45064506
webpack: "npm:5.90.3"
45074507
peerDependencies:
4508+
"@babel/core": ^7.13.0
4509+
"@babel/preset-env": ^7.13.0
45084510
webpack: ^5.0.0
45094511
languageName: unknown
45104512
linkType: soft

0 commit comments

Comments
 (0)