Skip to content

v2.0.0

Latest

Choose a tag to compare

@lxsmnsyc lxsmnsyc released this 02 Jul 09:16
· 77 commits to master since this release
  • Add entrypoints to Pridepack config. entrypoints would allow packages to build with multiple entrypoints and ship with subpackages. Upon building, exports and typesVersions is automatically applied based on the given entrypoints configuration. This change also drops the dependency of pridepack to generate bundles based on exports field.
  • Add outputDir to Pridepack config. Defaults to dist.
  • Add startEntrypoint to Pridepack config. With the introduction of entrypoints, you can now provide which entrypoint to start with when running pridepack start and pridepack dev.
  • Add support for import.meta.env for env variables
  • Deprecate the use of main, module and types.
  • Fix license step during package initialization to ask whether author wants a license.
  • Fix env generation to merge .env with either .env.production and .env.development