-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build): remove support for multi-dist compilation
Simplify `lb-tsc` to always use `outDir` and `target` as configured via `tsconfig.json` or CLI arguments. Simplify `lb-clean` to always require list of file globs to delete. Simplify `lb-mocha`, remove code converting `DIST` to the outDir based on compilation target. Remove already deprecated `lb-dist` command. BREAKING CHANGE: We are no longer choosing outDir for you, you have to specify it explicitly. It is no longer possible to specify compilation target via non-option argument like `lb-tsc es2017`. Migration guide: - Modify your `tsconfig.json` file and configure `dist` via `compilerOptions.outDir` - If you are using target different from `es2017`, then configure it via `compilerOptions.target`. - Remove `es2017` and `--outDir dist` from lb-tsc arguments. - Ensure that the output directory is listed in `lb-clean` arguments, e.g. call `lb-clean dist`. - When calling `lb-mocha`, replace `DIST` with the actual outDir value, typically `dist`. Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
- Loading branch information
Showing
10 changed files
with
22 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters