Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix(cli): disable cjs bridge (#4336)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 13, 2022
1 parent c36c4b0 commit c519cee
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"nitropack-dev": "link:../nitropack",
"nuxt3": "workspace:./packages/nuxt3",
"vite": "^2.9.3",
"unbuild": "^0.7.3"
"unbuild": "^0.7.4"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.3",
Expand All @@ -59,7 +59,7 @@
"object-hash": "^3.0.0",
"pathe": "^0.2.0",
"typescript": "^4.6.3",
"unbuild": "^0.7.3",
"unbuild": "^0.7.4",
"vitest": "^0.9.3",
"vue-router": "^4.0.14",
"vue-tsc": "^0.34.6"
Expand Down
3 changes: 1 addition & 2 deletions packages/nuxi/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: true,
rollup: {
inlineDependencies: true,
cjsBridge: true
inlineDependencies: true
},
entries: [
'src/cli',
Expand Down
22 changes: 16 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9521,6 +9521,16 @@ __metadata:
languageName: node
linkType: hard

"mlly@npm:^0.5.2":
version: 0.5.2
resolution: "mlly@npm:0.5.2"
dependencies:
pathe: ^0.2.0
pkg-types: ^0.3.2
checksum: 8a369b0b6333e704bff297ab2ac886ebaf67af8ba2c1967a6f55b6771eb7f5a96a2aeaeb6e3329cd7e9360a2fc59226ada41fa2a8aa76c1f4325e92cbc6bc0f3
languageName: node
linkType: hard

"modify-values@npm:^1.0.0":
version: 1.0.1
resolution: "modify-values@npm:1.0.1"
Expand Down Expand Up @@ -10191,7 +10201,7 @@ __metadata:
object-hash: ^3.0.0
pathe: ^0.2.0
typescript: ^4.6.3
unbuild: ^0.7.3
unbuild: ^0.7.4
vitest: ^0.9.3
vue-router: ^4.0.14
vue-tsc: ^0.34.6
Expand Down Expand Up @@ -13531,9 +13541,9 @@ __metadata:
languageName: node
linkType: hard

"unbuild@npm:^0.7.3":
version: 0.7.3
resolution: "unbuild@npm:0.7.3"
"unbuild@npm:^0.7.4":
version: 0.7.4
resolution: "unbuild@npm:0.7.4"
dependencies:
"@rollup/plugin-alias": ^3.1.9
"@rollup/plugin-commonjs": ^21.0.3
Expand All @@ -13550,7 +13560,7 @@ __metadata:
magic-string: ^0.26.1
mkdirp: ^1.0.4
mkdist: ^0.3.10
mlly: ^0.5.1
mlly: ^0.5.2
mri: ^1.2.0
pathe: ^0.2.0
pkg-types: ^0.3.2
Expand All @@ -13564,7 +13574,7 @@ __metadata:
untyped: ^0.4.4
bin:
unbuild: dist/cli.mjs
checksum: 879f5a0f338de2c7abab4ccaac718eca1fa1ef1ed35ffe6a3bd56b31e67a822affa85bc952e866cf96dce1ed6d6c7c6e01d99f987a7861837d856cf0d7d13628
checksum: 883dc0e129ed042c5055fd8acfb56f0bea0da15f6a44b7e207e8861943f2f7aba6fe7c66e82bd5a397a45c1dfb18a50c19369ea9eb440f15bd1a3afaee9e130b
languageName: node
linkType: hard

Expand Down

0 comments on commit c519cee

Please sign in to comment.