- d32b8a3: Upgrade esbulid to ^0.21.4
- 2b3f3ee: Update browserslist,
default
query will be affected
- c5855c7: Update package info
- 6f44020: Fix fsconfck loading behavior
- 7bf90bf: Drop Node'js < v18 and TypeScript < v5 as required by tsconfck v3. (#224)
- dbe79a0: Set default target Node.js version to v18.0.0
- 03ce072: Deprecate the
--platform
flag to specify default target platform
- 24d37be: Better support for Deno target transform
- fb11c28: Update esbuild to v0.19
- 24d37be: Reduce bloats on output for deno
- d2ed35b: Fix target option specified properly
- f38bb52: Update browserslist
- a3b954c: update esbuild
- ff6a370: update esbuild
- 4946b5c: Support TypeScript v5
- 3d07b82: Fix standalone mode (embedding externals)
- 680ff26: Add support for
modulde
-packages with.cts
entrypoints andcommonjs
packages with.mts
entrypoints
- a546f4d: Support defined value
process.env.NANABUNDLE_PACKAGE_NAME
andprocess.env.NANOBUNDLE_PACKAGE_VERSION
- b71eeef: Add --no-legal-comments to disable emitting legal text
- 0ab2a4a: Support CSS bundle explicitly
- 745a02c: Don't emit empty legal comments
- 4559578: regression: emit sourcemap by default
- bcafa5f: Fix to output files with .mjs/.cjs extension properly
- 1c6dc99: regression: allow directory style importMaps
- 0b85f38: Fix subpath pattern imports resolution
- 95ee87d: Fix legal comments output path
- 8f22759: Fix subpath pattern validation for importMaps
- 28d0d02: upgrade esbuild to v0.17.x
- 74182e0: Set --keep-names build flag by default
- 684408c: Support custom condition for imports & exports entries
- 7d8f1bf: support subpath pattern import maps
- 7fb6b21: Set legal comments to be liked by default
-
e0f874d: Unhandle .cjsx and .mjsx which are unsupported extension by TypeScript
See TS6054 See also microsoft/TypeScript#44442
- 7f4d5c1: Fix output filenames for CSS bundles
- ae45ed3: Add --no-bundle flag to disable bundle build
- 27b11c3: Allow source file with specific conditiona key
- 41414c0: Add --clean flag to build command
- 8561c0b: Prioritize jsx extension over module format if enabled
- 36c9d4b: upgrade esbuild
- 41414c0: Add
nanobundle clean
command - a77652d: Allow JSX extension entries (resolves #76)
-
6aca469: Fix to respect tsconfig's sourceMap option
-
6aca469: Fix the
--no-sourcemap
option to work properly -
31ae8d3: Fix crash on project using Node16 and NodeNext in tsconfig.json
For this, nanobundle temporarily uses forked version of tsconfck package.
-
41414c0: fix directory cleanup don't remove cwd
-
39ead88: chore: error message typo
-
2dcbba7: update tsconfck
-
c6fad2b: v1 features
- support multiple entries
- support nested conditional exports
- source inference from rootDir and outDir
- enable tree-shaking by default
- pretty reporter
- 8ad0d33: more debug logs
- 7426fd6: fix build flags and help text
- a7c3312: Fix internal error handling
- d14d8d5: add padding to warn/error messages
- a187ab5: fix implicit types entry not to be conflicted with others
- 7af4bf4: polished error messages and validation
- ad38773: Fix flag test on jsx options
- a57385d: fix result to be reported properly
- c2d75a8: fix boolean flag handling
- c3284bc: prettify result report
- 1f5c2d3: fix sourcemap output path
- c910f0c: fix indentation on typescript diagnostics
- 7762b4a: Support Node.js resolution for import maps
- 6976909: fix dts generation
- 67b74ef: Fix TypeScript build task
- ea2782f: Support JSX sources
- a414231: change pathLike string colors"
- 781557a: fix things
- 47f8eef: more compact logs
- fde48ba: polished reporting and diagnostics
- e6d2499: fix dts build option
- 84c8214: Fix to make it failed on type errors
- 2075f16: compact reporting while on verbose mode
- 31124fe: fix to --no-dts properly skip buildTypeTask
- d5ed671: Fix jsx transform to work with additional options
- d4e84bc: update depdencies
- 4918a88: Fix TypeScript declartion build and prettify reporting
- 12d5305: normalize ts rootDir and outDir
- 47f8eef: more compact logs
- c910f0c: fix indentation on typescript diagnostics
- 6976909: fix dts generation
- fde48ba: polished reporting and diagnostics
- 84c8214: Fix to make it failed on type errors
- 2075f16: compact reporting while on verbose mode
- 12d5305: normalize ts rootDir and outDir
- ad38773: Fix flag test on jsx options
- d5ed671: Fix jsx transform to work with additional options
- ea2782f: Support JSX sources
- 7762b4a: Support Node.js resolution for import maps
- 7af4bf4: polished error messages and validation
- c2d75a8: fix boolean flag handling
- 31124fe: fix to --no-dts properly skip buildTypeTask
- a7c3312: Fix internal error handling
- a414231: change pathLike string colors"
- d4e84bc: update depdencies
- 4918a88: Fix TypeScript declartion build and prettify reporting
- 67b74ef: Fix TypeScript build task
- a57385d: fix result to be reported properly
- c3284bc: prettify result report
- 7426fd6: fix build flags and help text
- 1f5c2d3: fix sourcemap output path
- e6d2499: fix dts build option
- 781557a: fix things
- d14d8d5: add padding to warn/error messages
- a187ab5: fix implicit types entry not to be conflicted with others
- 8ad0d33: more debug logs
-
c6fad2b: v1 features
- support multiple entries
- support nested conditional exports
- source inference from rootDir and outDir
- enable tree-shaking by default
- pretty reporter
- 6e07e74: Fix types generation
- 4eed241: choose prefered target based on module type specified by "exports" entry
- 127cf17: ignore android 4.4 target
-
ad3caf9: update browserslist
-
761a11d: update esbuild
-
edf2458: update tsconfck
-
4b284a0: fix build target resolutions
- Support
ios_safari
,android
,and_chr
andand_ff
query - Drop
deno
query
- Support
- 7b4a7ba: Update dependencies
- 31b11f7: Fixes packages with names similar to Node.js APIs are not properly embedded.
- 3563009: Fixes packages with names similar to Node.js APIs are not properly embedded.
- a19162b: update dependencies
- 204cc76: Ignore noEmit option when
types
entry required
- ccf3a06: upgrade dependencies
- 522a039: Fix "Unexpected moduleResolution" on emitting dts
- 27327c5: Don't emit dts files when "types" is not exist in package.json
- 78bd184: feat: emit TypeScript declaration files"
- 25e3996: fix standalone mode
- fac2b8c: fix internal reference in embedding process