Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: main package json #1826

Merged
merged 4 commits into from
Oct 21, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
🌳
  • Loading branch information
manucorporat committed Oct 20, 2022
commit f2d72545080f86a19e6bbf1875915c7fafeaf2a6
3 changes: 1 addition & 2 deletions packages/qwik-city/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "@builder.io/qwik-city",
"version": "0.0.112",
"description": "The meta-framework for Qwik.",
"main": "./lib/index.qwik.cjs",
"module": "./lib/index.qwik.mjs",
"main": "./lib/index.qwik.mjs",
"qwik": "./lib/index.qwik.mjs",
"types": "./lib/index.d.ts",
"type": "module",
Expand Down
3 changes: 1 addition & 2 deletions packages/qwik-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@
"url": "https://github.com/BuilderIO/qwik/issues"
},
"type": "module",
"main": "./lib/index.qwik.cjs",
"module": "./lib/index.qwik.mjs",
"main": "./lib/index.qwik.mjs",
"qwik": "./lib/index.qwik.mjs",
"types": "./lib/types/index.d.ts"
}
2 changes: 1 addition & 1 deletion scripts/qwik-city.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export async function buildQwikCity(config: BuildConfig) {

const loaderPkg = {
...(await readPackageJson(inputDir)),
main: './index.qwik.cjs',
main: './index.qwik.mjs',
qwik: './index.qwik.mjs',
types: './index.d.ts',
type: 'module',
Expand Down