-
Notifications
You must be signed in to change notification settings - Fork 209
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
chore(build): size optimization #1978
Conversation
@@ -35,6 +35,7 @@ | |||
], | |||
"sideEffects": false, | |||
"scripts": { | |||
"pre-build": "npx esbuild src/index.ts --bundle --format=cjs --outfile=dist/index.cjs", |
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.
The constants module is a dependency of the inline-webgl-constants
TS plugin
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.
Hmm yes that is messy. Perhaps we can add a "scripts-comments: ["comment1", "comment2",...]
section above in package.json so we can explain what is going on. This kind of stuff in build files is not fun for maintainers down the road.
@@ -35,6 +35,7 @@ | |||
], | |||
"sideEffects": false, | |||
"scripts": { | |||
"pre-build": "npx esbuild src/index.ts --bundle --format=cjs --outfile=dist/index.cjs", |
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.
Hmm yes that is messy. Perhaps we can add a "scripts-comments: ["comment1", "comment2",...]
section above in package.json so we can explain what is going on. This kind of stuff in build files is not fun for maintainers down the road.
Change List
inline-webgl-constants
transformerremove-glsl-comments
transformer