Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit cc09e81

Browse files
GNQGbillyyyyy3320
authored andcommitted
fix: support platform-independent build (fix: #36) (#37)
1 parent f6444cf commit cc09e81

File tree

2 files changed

+303
-11
lines changed

2 files changed

+303
-11
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dev:node": "tsc -p tsconfig.node.json --watch",
1111
"build:client": "tsc -p tsconfig.client.json",
1212
"build:node": "tsc -p tsconfig.node.json",
13-
"build:components": "mkdir -p lib/client/components && cp -r src/client/components lib/client",
13+
"build:components": "cpx \"src/client/components/**/*\" lib/client/components",
1414
"dev:docs": "vuepress dev docs --temp docs/.temp",
1515
"build:docs": "vuepress build docs --temp docs/.temp",
1616
"dev:example": "node examples/launch.js dev",
@@ -38,6 +38,7 @@
3838
"devDependencies": {
3939
"concurrently": "^4.1.0",
4040
"conventional-changelog-cli": "^2.0.1",
41+
"cpx": "^1.5.0",
4142
"inquirer": "^6.3.1",
4243
"nodemon": "^1.18.7",
4344
"rimraf": "^3.0.0",

0 commit comments

Comments
 (0)