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: use synckit with ESM correctly #201

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

JounQin
Copy link

@JounQin JounQin commented Dec 9, 2023

No description provided.

@JounQin
Copy link
Author

JounQin commented Dec 9, 2023

Actually I think this is no need to minify the bundle which makes debug unusable + log useless.

"package": "yarn build && yarn build:worker && vsce package --yarn",
"build:dev": "yarn build:extension && yarn build:worker",
"build": "yarn build:extension --minify && yarn build:worker --minify",
"build:extension": "esbuild ./src/extension.js --bundle --platform=node --target=node16 --external:vscode --external:../worker.mjs --outfile=./dist/extension.js",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should enable --sourcemap.

@JounQin
Copy link
Author

JounQin commented Dec 10, 2023

@idahogurl Any time to review?

@@ -98,6 +100,10 @@
}
}
},
"vsce": {
"dependencies": false,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@idahogurl
Copy link
Owner

@idahogurl Any time to review?

I will review tomorrow.

@idahogurl idahogurl merged commit f2d9d4f into idahogurl:171-prettier-3-0 Dec 11, 2023
@JounQin JounQin deleted the fix/esm branch December 12, 2023 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants