Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ts-project-builder

kiki-kanri185MIT5.0.2TypeScript support: included

Rollup-based TypeScript builder with multi-format output and built-in common plugins.

build-tool, builder, bundler, cjs, declaration, esm, multi-format, package-builder, plugin, rollup, typescript

readme

ts-project-builder

npm version npm downloads codecov License

Rollup-based TypeScript builder with multi-format output and built-in common plugins.

Features

  • 🛠️ Primarily operated through the CLI with various configurable flags and parameters
  • 📦 Supports multiple output formats, including CommonJS, ESM, UMD, and more
  • 🔧 Built-in support for TypeScript, JSON, and CommonJS modules
  • 🧹 Automatically cleans output directories
  • 💨 Minification support with esbuild
  • 📂 Preserves module structure if required
  • 🚀 Easy configuration through a config file
  • 📜 Customizable Rollup plugins for input and output
  • 🔄 Merges or replaces configurations for flexible build setups

Requirements

  • Node.js >= 18.12.1

Installation

Using pnpm:

pnpm add -D ts-project-builder

You can also use yarn, npm, or bun.

Usage

Use the -h flag to view usage and all available options:

ts-project-builder -h       # from package.json script
npx ts-project-builder -h   # directly from terminal

Basic Usage

Run the builder with a single entry file:

ts-project-builder ./src/index.ts

By default, it outputs both CommonJS (.cjs) and ESM (.mjs) formats to the ./dist directory.

Multiple Inputs and Format Control

You can pass multiple inputs and specify desired output formats:

# Output as amd, cjs, and esm
ts-project-builder ./src/cli.ts ./src/index.ts -f amd,cjs,esm

# Use glob patterns (wrap in quotes!)
ts-project-builder './src/**/*.ts' -f cjs

[!IMPORTANT] Input files must be listed before any flags to ensure correct parsing.

Format Extensions

Each format will generate files with the following extensions:

Format Extension
amd amd.js
cjs cjs
commonjs cjs
es mjs
esm mjs
iife iife.js
module mjs
system system.js
systemjs system.js
umd umd.js

Built-in Rollup Plugins

This builder uses the following Rollup input plugins (in order):

For more options and advanced configuration, see the CLI Flags section.

CLI Flags

--clean

Cleans the output directory or files right before writing output files.

  • If used without a value, all formats will be cleaned.
  • If specific formats are provided, only output files for the specified formats will be cleaned.
  • If the build fails, nothing will be cleaned.
  • Files or folders to be cleaned are determined by their output paths.

    👉 If multiple formats (e.g. CJS and ESM) share the same output directory (like ./dist), using --clean cjs will still clean the entire directory.

# Clean all formats before output
ts-project-builder ./src/index.ts --clean

# Clean only CJS format before output
ts-project-builder ./src/index.ts --clean cjs

[!IMPORTANT] An error will be thrown if the path to be cleaned is outside the current working directory.

To bypass this check, use --force-clean.

-c, --config

Specifies the path to the config file.

Only .mjs files are supported — the file must be an ES module, as it is loaded using await import.

Default: ./ts-project-builder.config.mjs

--force-clean

Forcibly cleans the target directory or files before output, even if they are outside the current working directory.

  • Must be used together with the --clean flag.
  • Uses the same syntax and format as --clean.

[!CAUTION]

Use this flag with caution — it can delete files outside your project folder.

-f, --formats

Specifies the output formats.

Multiple formats can be provided, separated by commas. Duplicate entries will be ignored.

Default: cjs,esm

-m, --minify

Minifies the output using the minify option from rollup-plugin-esbuild.

  • Uses the same configuration syntax as --clean.

--out-dirs

Specifies the output directory path(s).

See Rollup's output.dir documentation for more details.

Default: ./dist

You can define separate output directories for different formats using <format>=<path>, separated by commas.

  • If only a path is provided (e.g. ./dist), it will be used for all formats.
  • If format-specific paths are provided, those formats will output to the corresponding directories.
# All formats output to ./dist
ts-project-builder ./src/index.ts --out-dirs ./dist

# CJS outputs to ./cjs, all others use default ./dist
ts-project-builder ./src/index.ts --out-dirs cjs=./cjs

# ESM outputs to ./dist, all others to ./output
ts-project-builder ./src/index.ts --out-dirs ./output,esm=./dist

--out-exts

Specifies the output file extensions for each format.

  • If not set, or if a specific format is not listed, the default extension from the format table will be used.
  • The priority order is explicit per-format value > common extension value > default table value.
  • The syntax is the same as --out-dirs, using <format>=<ext> and separating multiple values with commas.
# CJS uses `.cjs`, others use `.js`
ts-project-builder ./src/index.ts --out-exts cjs=cjs,js

# ESM uses `.js`, others use default extensions from the format table
ts-project-builder ./src/index.ts --out-exts esm=js

--out-files

Specifies exact output file paths.

See the Rollup documentation for more details.

  • If this flag is set, it will override the --out-dirs flag.
  • The format and syntax are the same as --out-dirs, using <format>=<path>.
# CJS outputs to ./cjs.cjs, all other formats use ./dist
ts-project-builder ./src/index.ts --out-files cjs=./cjs.cjs

# - CJS outputs to ./cjs/index.cjs (from --out-files)
# - ESM outputs to ./esm (from --out-dirs)
# - All others output to ./dist (default)
ts-project-builder ./src/index.ts --out-dirs cjs=./cjs-dist,esm=./esm --out-files cjs=./cjs/index.cjs

--preserve-modules

Preserves the module structure in the output (i.e., does not bundle into a single file).

See Rollup documentation for details.

  • Uses the same configuration syntax as --clean.

--preserve-modules-roots

Specifies the root directory for preserved modules.

See Rollup documentation for details.

  • Default: ./src
  • Uses the same configuration syntax as --out-dirs.

--sourcemaps

Enables or configures sourcemap output.

See the Rollup documentation for more details.

  • Supports values: true, false, inline, and hidden.
  • Uses the same configuration syntax as --out-dirs.
  • If no format is specified, the setting applies to all formats.
# All formats use the 'true' setting (sourcemaps enabled)
ts-project-builder ./src/index.ts --sourcemaps

# ESM format uses 'inline', all others use 'false' (sourcemaps disabled)
ts-project-builder ./src/index.ts --sourcemaps false,esm=inline

# Only disable sourcemaps for the ESM format
ts-project-builder ./src/index.ts --sourcemaps esm=false

Config File

If you need to customize plugin behavior, modify per-format output, or access advanced options, you can use a configuration file.

By default, the builder looks for ./ts-project-builder.config.mjs.

You can override this using the -c flag.

Example

Create a config file and start with the following template:

import { defineConfig } from 'ts-project-builder';

export default defineConfig({});

For full type definitions and configuration options, refer to the Config interface in ./src/types.ts.

Direct Import Usage

You can also use ts-project-builder as a library by directly importing the Builder class.

Create a builder instance and call the build() method:

import { Builder } from 'ts-project-builder';

const builder = new Builder({
    inputs: ['./src/index.ts'],
    output: {
        formats: new Set([
            'cjs',
            'esm'
        ]),
    },
});

await builder.build();

License

MIT License

changelog

Changelog

v5.0.2

compare changes

📖 Documentation

🏡 Chore

  • Update ignore files (c81c294)
  • scripts: Ensure all scripts cd to their current directory correctly (5362c3b)
  • Set --max-warnings=0 for lint and lint:fix (bffe476)
  • Set eslint config to enable lib mode (59e03e4)
  • Disable ts/explicit-function-return-type eslint rule (5190f6b)
  • Lint code (f8f0974)
  • Upgrade dependencies (e6bb6fd)
  • test: Migrate from jest to vitest (9a9d869)
  • Split tsconfig and create build-specific config for production builds (564b6d2)
  • vitest: Configure coverage to collect files only under src/ (e2c7f65)
  • Lint code (86f373a)

🤖 CI

  • Update test workflow (1519e46)
  • Update condition for uploading to Codecov in workflow job (39851ac)

❤️ Contributors

  • kiki-kanri

v5.0.1

compare changes

🩹 Fixes

  • Resolve lint-reported errors (b16dafc)

💅 Refactors

  • Simplify code after disabling isolatedDeclarations in tsconfig (69f796e)
  • Remove IIFE in cli.ts and execute logic at top level (04ea58e)

📖 Documentation

  • Update README badges urls (499bc71)
  • Replace %2F with / in badge URLs in README (4aaf916)

🏡 Chore

  • Enable isolatedDeclarations in tsconfig and update code (b01f410)
  • Upgrade dependencies (ca334df)
  • Format script (16ca049)
  • Update file permissions after installing or updating dependencies (d141f76)
  • Add --hideAuthorEmail flag to bumplog command (382091b)
  • Add typecheck command to package.json scripts (2a1f7e0)
  • Rename jest.config.js to jest.config.mjs (76371a1)
  • Reorder lint, test, and build steps in release command (b63dcb4)
  • Add and update configurations for future test setups (4f068d3)
  • Disable isolatedDeclarations in tsconfig (ed1636f)
  • Update modify-files-permissions.sh (89f72e3)
  • Upgrade dependencies and format code (32e92f6)
  • Add option to upgrade-dependencies.sh to clean node_modules and pnpm-lock.yaml before upgrading (e542b14)
  • Upgrade dependencies (d3ee5a7)
  • Ensure all scripts change to their own directory before execution (9be5fbf)
  • Upgrade dependencies (44a496d)

✅ Tests

🤖 CI

  • Add test github workflow config file (dd421d1)

❤️ Contributors

  • kiki-kanri

v5.0.0

compare changes

🚀 Enhancements

  • Add enableBuiltInInputPlugins option to toggle built-in plugin activation (b9b2fc9)

🩹 Fixes

  • Avoid applying glob to non-glob input paths to properly detect invalid paths (f89c470)

💅 Refactors

  • Replace Object.freeze with readonly type definitions for constants and variables (5ac0627)
  • Extract rollupInputPlugins creation to a separate method (06861fd)
  • Remove explicit return types from some functions (ed5761b)
  • ⚠️ Rename CLI flags (dde1bfd)

📖 Documentation

  • Update CHANGELOG (783ad48)
  • Update README, package description and keywords (199e37b)

🏡 Chore

  • Upgrade dependencies (bd6b2b0)
  • Remove unused code (cb2803d)
  • Set "sideEffects" field in package.json (4c50b07)
  • Update bin field configuration in package.json (0fe36e4)
  • Format code (5734074)
  • Upgrade dependencies (5d5e123)

⚠️ Breaking Changes

  • ⚠️ Rename CLI flags (dde1bfd)

❤️ Contributors

  • kiki-kanri

v4.0.1

compare changes

🏡 Chore

  • Remove resolveJsonModule from tsconfig.json (38080dd)

❤️ Contributors

  • kiki-kanri

v4.0.0

compare changes

💅 Refactors

  • ⚠️ Remove all default export (8f3de1a)

⚠️ Breaking Changes

  • ⚠️ Remove all default export (8f3de1a)

❤️ Contributors

  • kiki-kanri

v3.4.4

compare changes

💅 Refactors

  • Replace globSync with native node:fs functionality (1e56a53)
  • Update import style for some modules (5789fba)

🏡 Chore

❤️ Contributors

  • kiki-kanri

v3.4.3

compare changes

🩹 Fixes

  • Resolve incorrect remaining file count in truncated display for many input files (feeedfb)

❤️ Contributors

  • kiki-kanri

v3.4.2

compare changes

💅 Refactors

  • Simplify pathIsFile definition (6aef489)

🏡 Chore

  • Upgrade dependencies (79701ad)
  • Set hideAuthorEmail arg in changelogen command (169cce4)
  • Upgrade dependencies (6e2aeb3)
  • Format and lint codes (b586ace)
  • Upgrade dependencies (5dbb5f8)
  • Truncate file list display when logging too many files (b13b646)

❤️ Contributors

  • kiki-kanri

v3.4.1

compare changes

💅 Refactors

  • Replace string[0] === with string.startsWith (8d9e4be)
  • Rename parseCLIArgString to parseCliArgString (81b8751)

🏡 Chore

  • Upgrade dependencies and add pnpm.onlyBuiltDependencies setting to package.json (b9d1130)

❤️ Contributors

  • kiki-kanri

v3.4.0

compare changes

🚀 Enhancements

  • Add CLI option to enable sourcemap output (2adbd2d)

🩹 Fixes

  • Remove unnecessary ? operator and fix type errors (e94f38d)

📦 Build

  • Enable sourcemap output in build process (a772adb)

🏡 Chore

  • Upgrade dependencies (bde0392)
  • Include src folder in the package published to npm (2469c2d)

❤️ Contributors

  • kiki-kanri

v3.3.4

compare changes

💅 Refactors

  • Remove process import statement (b9f2b85)

🏡 Chore

🎨 Styles

  • Format and lint all files (23dcb00)

❤️ Contributors

  • kiki-kanri

v3.3.3

compare changes

💅 Refactors

  • Change for const to forEach inside parseCLIArgString (bd05ab4)

🏡 Chore

  • Update eslint-config and format codes (126b8fd)
  • Modify eslint-disable-next-line comment style (4ec782b)
  • Upgrade dependencies (b141e28)
  • Upgrade dependencies (0c5aac8)

🎨 Styles

  • Change all indentation to 4 spaces (361e163)
  • Format and lint files (2280c72)

❤️ Contributors

  • kiki-kanri

v3.3.2

compare changes

💅 Refactors

  • Replace Omit type with type-fest's Except type (a3c1ffb)
  • Change outputOptions type in builder.build method to use SetFieldType definition (8021fd4)

🏡 Chore

  • Upgrade dependencies (5a64c5c)
  • Replace Prettier with ESLint, add related files, and update VSCode settings (c2c279f)
  • Modify scripts in package.json (9b0b9e4)

🎨 Styles

  • Format and lint all files (899caf4)

❤️ Contributors

  • kiki-kanri

v3.3.1

compare changes

📖 Documentation

🏡 Chore

  • Update minimum Node.js version (e5451e6)
  • Modify release script in package.json (bacd2a8)
  • Upgrade dependencies (1d8dfbd)
  • Change from tsx to jiti (3ba4113)

❤️ Contributors

  • kiki-kanri

v3.3.0

compare changes

🚀 Enhancements

  • Export all types from entry point (65b830d)

🏡 Chore

  • Move tslib to devDependencies (93ff7d6)
  • Upgrade dependencies and modify release script (a5a12bd)

❤️ Contributors

  • kiki-kanri

v3.2.4

compare changes

🏡 Chore

  • Replace lodash package with lodash-es (a907582)
  • Disable CJS build output (f47047e)
  • Add missing types field in package.json (b295591)

❤️ Contributors

  • kiki-kanri

v3.2.3

compare changes

🏡 Chore

  • Modify release script (db8e42b)
  • Move tslib to dependencies (60f3dc1)

❤️ Contributors

  • kiki-kanri

v3.2.2

compare changes

🏡 Chore

  • Replace lodash-es with lodash (e6d7119)
  • Remove main, module, and types fields from package.json and add exports configuration (c67d788)

❤️ Contributors

  • kiki-kanri

v3.2.1

compare changes

🩹 Fixes

  • Update all imports in types files to use import type (a5d7857)
  • Resolve missing #!/usr/bin/env node at the start of cli.cjs (e672e52)

💅 Refactors

  • Improve readability of parts of the code (3b184e5)

🏡 Chore

❤️ Contributors

  • kiki-kanri

v3.2.0

compare changes

🚀 Enhancements

  • Export all types (074b7ab)
  • Modify build process and output files (0ed1ec0)
  • Add release script to package.json (b0665d1)

💅 Refactors

  • Rename parseCliArgString to parseCLIArgString (b6a0136)

🏡 Chore

  • Upgrade dependencies (019449c)
  • Switch changelog generation package (6b30966)

❤️ Contributors

  • kiki-kanri

v3.1.2

compare changes

🩹 Fixes

  • Resolve IIFE format corresponding extension error (3447401)

🏡 Chore

❤️ Contributors

  • kiki-kanri

v3.1.1

compare changes

🩹 Fixes

  • Add missing main field in package.json (78e373c)

❤️ Contributors

  • kiki-kanri

v3.1.0

compare changes

🚀 Enhancements

  • Add Builder class and related constants export to entry point (23bc390)

💅 Refactors

  • Freeze outputFormatToExtMap constant (f565ba9)

🏡 Chore

❤️ Contributors

  • kiki-kanri

v3.0.1

compare changes

💅 Refactors

  • Remove all try-catch blocks in builder and throw all errors (f4ed061)
  • Use try-catch when instantiating Builder class and calling build method after cli parses parameters (ed48ee4)

📖 Documentation

🏡 Chore

  • Make cli input parameter mandatory and update usage in help (38c3f05)
  • Upgrade dependencies (a874e92)

❤️ Contributors

  • kiki-kanri

v3.0.0

compare changes

💅 Refactors

  • Clean up and optimize code (23b324f)
  • ⚠️ Rename builtin to builtIn (d024abb)

📖 Documentation

  • Update CHANGELOG, package.json, and README (cc5a0b3)
  • Add comments and descriptions to properties in Config (c019e6e)
  • Add descriptions to some flags in cli (c0ed863)

⚠️ Breaking Changes

  • ⚠️ Rename builtin to builtIn (d024abb)

❤️ Contributors

  • kiki-kanri

v3.0.0-rc.1

compare changes

🚀 Enhancements

  • Add functionality to specify rollup output.file option (7ef69e7)
  • Add functionality to clean output directory or files before build (32f3945)

🩹 Fixes

  • Specify entry point in package.json (9043e71)

💅 Refactors

  • ⚠️ Remove aliases for dirs and exts cli args (a937fe4)

⚠️ Breaking Changes

  • ⚠️ Remove aliases for dirs and exts cli args (a937fe4)

❤️ Contributors

  • kiki-kanri

v3.0.0-rc.0

compare changes

🚀 Enhancements

  • Add files for rollup cli logger functionality (80d909b)
  • Add utils file (7c21159)
  • Complete initial implementation of main functionality (c7edfa7)
  • Add functionality to modify options using config file (12f2f39)

🏡 Chore

  • Rename script file (97dc82f)
  • Update .gitignore (4095a64)
  • Remove all code and non-development dependencies and files (65e806c)
  • Add required dependencies (912b7f5)
  • Update tsconfig (b4f05f5)
  • Insert required string at the beginning of cli.mjs file (90a7388)
  • Update package.json (89c5afe)

❤️ Contributors

  • kiki-kanri

v2.0.5

compare changes

🏡 Chore

  • Update author field in package.json (5ebe4fd)
  • Upgrade dependencies (f91d755)

❤️ Contributors

  • kiki-kanri

v2.0.4

compare changes

🩹 Fixes

  • Correct loading of extraOptions config on Windows (43dca62)

🏡 Chore

🎨 Styles

  • Reorder import statements (5944f33)

❤️ Contributors

  • kiki-kanri

v2.0.3

compare changes

🩹 Fixes

  • Use npm pkg fix to fix package.json errors (af847b4)

💅 Refactors

  • Use 'import type' for type-only imports (56905e3)

🏡 Chore

  • Upgrade dependencies (6d180ae)
  • Add author field in package.json (4d32363)

❤️ Contributors

  • kiki-kanri

v2.0.2

compare changes

🏡 Chore

🎨 Styles

  • Format codes and package.json (7a83ddb)

❤️ Contributors

  • kiki-kanri

v2.0.1

compare changes

🏡 Chore

🎨 Styles

❤️ Contributors

  • kiki-kanri

v2.0.0

compare changes

📖 Documentation

🏡 Chore

  • ⚠️ Upgrade rollup to v4 (50cacfb)
  • Change tsconfig target to es2022 (8fa4e12)

⚠️ Breaking Changes

  • ⚠️ Upgrade rollup to v4 (50cacfb)

❤️ Contributors

  • kiki-kanri

v1.1.1

compare changes

📖 Documentation

  • Edit builtin plugins list (064eb2b)

🏡 Chore

  • Upgrade dependencies (97f5f63)
  • Using tsx instead of @esbuild-kit/esm-loader (50262bd)

❤️ Contributors

  • kiki-kanri

v1.1.0

compare changes

🚀 Enhancements

  • Add commonjs and resolve rollup plugins (b185b37)

❤️ Contributors

  • kiki-kanri

v1.0.3

compare changes

💅 Refactors

  • Replace private keyword with # for class members (9bb27c3)

🏡 Chore

❤️ Contributors

  • kiki-kanri

v1.0.2

compare changes

🩹 Fixes

  • Correct exit code for build error (eb25390)

🏡 Chore

❤️ Contributors

  • kiki-kanri

v1.0.1

compare changes

🏡 Chore

❤️ Contributors

  • kiki-kanri

v1.0.0

compare changes

🩹 Fixes

  • ⚠️ Change build type flag name to type (6bfbc56)

📖 Documentation

🏡 Chore

  • Remove empty gitmodules file (f7e3b48)
  • Upgrade dependencies (35fae86)

⚠️ Breaking Changes

  • ⚠️ Change build type flag name to type (6bfbc56)

❤️ Contributors

  • kiki-kanri

v0.9.1

compare changes

🩹 Fixes

  • Set package.json engines field value (6b1d715)

❤️ Contributors

  • kiki-kanri

v0.9.0

compare changes

🚀 Enhancements

  • Extra config can set rollup options (1e72d92)

🔥 Performance

  • Simplified way to get extra config data (c095454)

📖 Documentation

🏡 Chore

❤️ Contributors

  • kiki-kanri

v0.8.0

compare changes

🔥 Performance

🩹 Fixes

  • Edit error log to locating the wrong point (2df7fb8)

💅 Refactors

📖 Documentation

❤️ Contributors

  • kiki-kanri

v0.7.0

compare changes

🚀 Enhancements

  • Stop build when extra config build error (e218ec8)

🩹 Fixes

  • Add interop to output options to fix some cjs error (b89258c)

📖 Documentation

  • Add extra options comments (7cbdf63)

❤️ Contributors

  • kiki-kanri

v0.6.2

compare changes

🩹 Fixes

  • Fixed rollup method error not handle (76a36ac)
  • Fixed log success message if an error occurred (f80dea4)

❤️ Contributors

  • kiki-kanri

v0.6.1

compare changes

🚀 Enhancements

  • Make build extra config all imports is external (04b48f1)

🩹 Fixes

  • Fixed tmp config file import error (587c9b2)

❤️ Contributors

  • kiki-kanri

v0.6.0

compare changes

🚀 Enhancements

  • Add log and handle rollup error (8711349)
  • Build time use pretty-ms to log (c5baeca)

💅 Refactors

🏡 Chore

  • Upgrade dependencies (55318c9)
  • Upgrade dependencies (1fd918c)
  • Remove dev script in package.json (0e9d9d1)
  • Remove dev dependencies (13ff773)
  • Remove rollup submodule (bc2a462)

⚠️ Breaking Changes

❤️ Contributors

  • kiki-kanri

v0.5.0

compare changes

🚀 Enhancements

  • Use extra config set builtin plugin options (9c25e85)

🩹 Fixes

  • ⚠️ Edit extra options plugins type (5f2ac79)
  • Fixed always clear dist dir error (b479ad7)

💅 Refactors

🏡 Chore

🎨 Styles

⚠️ Breaking Changes

  • ⚠️ Edit extra options plugins type (5f2ac79)

❤️ Contributors

  • kiki-kanri

v0.4.2

compare changes

🩹 Fixes

  • Fixed extra config tmp name ext is not cjs (49e1a98)
  • Fixed extra config plugin not work (76fb65b)

❤️ Contributors

  • kiki-kanri

v0.4.1

compare changes

🩹 Fixes

  • Make ExtraConfig params optional (746d494)

❤️ Contributors

  • kiki-kanri

v0.4.0

compare changes

🚀 Enhancements

  • Add isFile and randomStr utils (d81e532)
  • Add rmFile utils (f6d9057)
  • Preprocessing extra config file (7ef93d8)
  • Use flag to switch force clear dist dir (5349e41)
  • Supports multiple inputs (f3fbc4f)

💅 Refactors

  • Move interfaces and types to types.ts (011a7ca)
  • Use fs rm method to remove dist dir (fc8623d)
  • Move clear dist code block (4ab497b)

📦 Build

  • Edit command to build index.ts (5da847d)

🏡 Chore

❤️ Contributors

  • kiki-kanri

v0.3.1

compare changes

🩹 Fixes

  • Fixed incorrect url in package.json (7051b98)

🏡 Chore

  • Explicitly specify type in package.json (3a0e85d)

❤️ Contributors

  • kiki-kanri

v0.3.0

compare changes

🚀 Enhancements

  • Auto enable .d.ts output when buile type is package (26119e9)
  • ⚠️ Rename flag --clean to --clear-dist (666cd5f)
  • Use rollup cli handleError to log error (1c49487)

🏡 Chore

  • Upgrade dependencies and edit tsconfig (8b358b9)
  • Add rollup submodule (44023a8)

⚠️ Breaking Changes

  • ⚠️ Rename flag --clean to --clear-dist (666cd5f)

❤️ Contributors

  • kiki-kanri

v0.2.1

compare changes

📖 Documentation

❤️ Contributors

  • kiki-kanri

v0.2.0

compare changes

🚀 Enhancements

  • Add --no-strip flag to controll strip plugin (01dd78b)
  • Read package.json version field to set cli version (a7fc596)
  • Add @rollup/plugin-json to parse json (bc565c3)
  • Use config.js file set extra build options (1c7433d)
  • ⚠️ Remove --input flag, use parameters to set (e531904)
  • Auto detect package type using different externals plugin (942baa2)
  • ⚠️ Change format arg default value (af10331)

🩹 Fixes

  • Fixed error format arg description (3d77f39)
  • Fixed strip plugin not set include option (7df9ff7)
  • Fixed builder not close (3d97600)
  • Fixed some args not working correctly (4d4515c)

💅 Refactors

  • Change rollup plugin sort (7f6899e)

📦 Build

🏡 Chore

  • Remove tsconfig-paths dependencies (1ce5edb)
  • Set banner only add to cli file (8a88daf)

⚠️ Breaking Changes

  • ⚠️ Remove --input flag, use parameters to set (e531904)
  • ⚠️ Change format arg default value (af10331)

❤️ Contributors

  • kiki-kanri

v0.1.0

compare changes

🚀 Enhancements

  • Add build and cli files (78e1150)

💅 Refactors

  • Move tsconfigs to package (3c2c49f)

📖 Documentation

🏡 Chore

  • Add dependencies (7ea8956)
  • Add and edit tsconfigs (b1b4f99)
  • Add require dependencies (5e67ccf)
  • Remove env comment in cli file (ab466b6)
  • Add bin path in package.json (059ba9b)

❤️ Contributors

  • kiki-kanri

v0.0.1

compare changes

🏡 Chore

  • Add gitignore and package.json (3f8b2bc)

❤️ Contributors

  • kiki-kanri