Skip to content

Commit

Permalink
feat(utils): build utils too
Browse files Browse the repository at this point in the history
@pkgr/rollup relys on utils, so we use tsc to build cjs first
  • Loading branch information
JounQin committed Feb 19, 2021
1 parent 57cd2d0 commit 2b9fc6a
Show file tree
Hide file tree
Showing 3 changed files with 693 additions and 31 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"scripts": {
"build": "run-s build:ts build:r build:w",
"build:r": "ts-node --files packages/rollup/src/cli --exclude utils,webpack-* -p",
"build:r": "ts-node --files packages/rollup/src/cli --exclude webpack-* -p",
"build:ts": "tsc -b",
"build:w": "rimraf dist && run-p build:w:*",
"build:w:angular": "yarn w:build -e src/angular -o dist/angular -t angular -p",
Expand Down
5 changes: 5 additions & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"node": "*"
},
"main": "lib",
"module": "lib/esm",
"es2015": "lib/es2015",
"fesm5": "lib/esm",
"jsdelivr": "lib/umd",
"unpkg": "lib/umd",
"types": "lib",
"files": [
"lib",
Expand Down
Loading

0 comments on commit 2b9fc6a

Please sign in to comment.