-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
missing esm module build #134
Conversation
Adds rollup-plugin-auto-external to automatically exclude dependencies and peerDependencies from the bundle to reduce bundle size and improve build performance.
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
It's not critical so just check it out @samchon |
Also I think it's a better idea to show the esm transformation in this project first because it is way smaller than typia |
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.
I'll test it.
And even though NodeJS deprecates CJS in the latest version, it would take a lot of time that the new NodeJS version in the industry. I'll move to ESM when TypeScript and NestJS accept it.
Will publish at v3.0 update, and it would be when TS 5.8 released. Thanks for contribution. |
The main reason of bundling to multiple |
@samchon Yes exactly. |
When I'm working on esm full build for typia, I found that some modules in If I release it, I can start working for typia. Submoudles (eg, |
* Add `IJsonSchemaAttribute`. (#135) * Add `IJsonSchemaAttribute`. * Publish as v2.5 * Enhance IJsonSchemaAttribute type with nested items. (#136) * Add `IJsonSchemaAttribute`. * Publish as v2.5 * Enhance `IJsonSchemaAttribute` type with nested items. * Change rule of the `IHttpMigrateRoute.emendedPath` (#137) * Add `IJsonSchemaAttribute`. * Publish as v2.5 * Enhance `IJsonSchemaAttribute` type with nested items. * Change rule of the `IHTtpMigrateRoute.emendedPath` * Test whether `IHttpLlmApplication` covers ILlmApplication (#138) * Add `IJsonSchemaAttribute`. * Publish as v2.5 * Enhance `IJsonSchemaAttribute` type with nested items. * Change rule of the `IHTtpMigrateRoute.emendedPath` * Test whether `IHttpLlmApplication` covers `ILlmApplication` * missing esm module build (#134) * feat: build all module in esm * feat: add rollup-plugin-auto-external Adds rollup-plugin-auto-external to automatically exclude dependencies and peerDependencies from the bundle to reduce bundle size and improve build performance. * New embedded function `IHttpLlmFunction.validate()`for validation feedback (#147) * Developing internal validator * Prepared testing program * Only object discriminator is left * Fiix HTTP application accessors * Validator implementation completed * Publish v3 --------- Co-authored-by: ryoppippi <1560508+ryoppippi@users.noreply.github.com>
This pull request includes updates to the build configuration and dependencies to improve the build process.
This needs esm build for typia
Dependency updates:
tinyglobby
version^0.2.10
to thepackage.json
file.Build configuration updates:
rollup.config.js
to usetinyglobby
for input file globbing instead of a single entry point.