Skip to content

Commit

Permalink
chore(dev): Add es5 aliases for build:dist commands in browser (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
lobsterkatie authored May 28, 2021
1 parent c94100a commit 82a868f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
"build:bundle:watch": "rollup --config --watch",
"build:dist": "tsc -p tsconfig.build.json",
"build:dist:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:es5": "run-s build:dist",
"build:es5:watch": "run-s build:dist:watch",
"build:esm": "tsc -p tsconfig.esm.json",
"build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
"build:watch": "run-p build:dist:watch build:esm:watch build:bundle:watch",
Expand Down

0 comments on commit 82a868f

Please sign in to comment.