-
Notifications
You must be signed in to change notification settings - Fork 19
build(next): Add build step #110
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
Conversation
f733362 to
0f25a29
Compare
wip build(next): Switch to 1.0 build(next): Add lint Co-Authored-By: David Dragovacz <[email protected]>
0f25a29 to
d2dfd27
Compare
lukad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 thanks Thien
thien-remote
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sandrina-p @dragidavid this is ready for review now!
@antoniocapelo @lukad FYI
dragidavid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go! 🚀
| "sourcemap": true, | ||
| "minify": true, | ||
| "target": "es2020", | ||
| "outDir": "dist" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question
Should we update our package.json main value include the dist folder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yes we missed that 😆 I intend to do that in the Release step, last step of the setup
To follow up on #108, this PR adds the Build step. It belongs to the same internal ticket of DEVXP-2530.
Unlike V1, we will use tsup now. Fun fact: it's built on top of esbuild, which is what we are using in V1. I actually don't know why V1 has Babel along though. Anyway, we will have a minimal build setup for V2: one config for TypeScript, and one for tsup.
(Reminder for contributors: add "tsup" to your spell check dictionary from now!)
That's it! That's the change. You can try it with
pnpm run buildright now.