Skip to content

Commit 82a868f

Browse files
authored
chore(dev): Add es5 aliases for build:dist commands in browser (#3600)
Every other package besides browser uses build:es5 for hopefully self-explanatory purposes. The browser package uses build:dist to do the same thing. This adds build:es5 as an alias for build:dist, so the commands are standardized across packages and so that they can be run as a group in lerna or run when looping through packages manually.
1 parent c94100a commit 82a868f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/browser/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
"build:bundle:watch": "rollup --config --watch",
6161
"build:dist": "tsc -p tsconfig.build.json",
6262
"build:dist:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
63+
"build:es5": "run-s build:dist",
64+
"build:es5:watch": "run-s build:dist:watch",
6365
"build:esm": "tsc -p tsconfig.esm.json",
6466
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
6567
"build:watch": "run-p build:dist:watch build:esm:watch build:bundle:watch",

0 commit comments

Comments
 (0)