GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(build): Drop prepack step & directly pack `/build` directory by mydea · Pull Request #12656 · getsentry/sentry-javascript Conversation
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
cc @nicohrubec we should also do this for the nest package right away! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "types", | ||
| "types-ts3.8" | ||
| "/build", | ||
| "LICENCE", |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
should this be LICENSE maybe?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
oops, yes it should! 🤦 good catch!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
some files including the license are added by default: https://docs.npmjs.com/cli/v10/configuring-npm/package-json#files
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
ah, nice, then I'll just remove this overall
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
README.* is also included by default.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -14,8 +14,8 @@ | |||
| "/build/fesm2015", | |||
| "/build/fesm2020", | |||
| "/build/*.d.ts", | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
What about the *.d.ts.map files?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
there are none here, actually! But I'll still add this, to be future-safe!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
nice reducing complexity!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can we remove/update https://github.com/getsentry/sentry-javascript/blob/develop/scripts/prepack.ts?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
size-limit report 📦
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
That is removed in this PR! 😅 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
For reference, in Angular we still pack from |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
That is removed in this PR
well that's embarrassing
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This is mostly an internal change, but it does change the layout of the published package, which shouldn't affect users, unless they depend on non-public things (which nobody should!).
cda71bf to
dba98d7
Compare
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
npm packages @sentry/core and @sentry/utils have invalid 'sources' path in *.js.map files
There was an error while loading. Please reload this page.