Improve development tooling (#1516)
- Running `yarn build` in a `packages/*/` directory will trigger build of all dependencies too, and cache them if possible. - Fix for `yarn dev` breaking for `rrweb` package whenever changing files in `rrweb` package - Update typescript, turbo, vite and vite-plugin-dts - Require `workspaces-to-typescript-project-references` from `prepublish`
This commit is contained in:
@@ -7,7 +7,8 @@ import { build, Format } from 'esbuild';
|
||||
import { resolve } from 'path';
|
||||
import { umdWrapper } from 'esbuild-plugin-umd-wrapper';
|
||||
|
||||
const emptyOutDir = process.env.CLEAR_DIST_DIR !== 'false';
|
||||
// don't empty out dir if --watch flag is passed
|
||||
const emptyOutDir = !process.argv.includes('--watch');
|
||||
|
||||
function minifyAndUMDPlugin({
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user