Skip to content

Commit 17afe8c

Browse files
authored
fix: fix dal templates build (#199)
<!-- Thank you for your pull request. Please review below requirements. Bug fixes and new features should include tests and possibly benchmarks. Contributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md 感谢您贡献代码。请确认下列 checklist 的完成情况。 Bug 修复和新功能必须包含测试,必要时请附上性能测试。 Contributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md --> ##### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows commit guidelines ##### Affected core subsystem(s) <!-- Provide affected core subsystem(s). --> ##### Description of change <!-- Provide a description of the change below this comment. --> <!-- - any feature? - close https://github.com/eggjs/egg/ISSUE_URL -->
1 parent 8e3fc0d commit 17afe8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/dal-runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"clean": "tsc -b --clean",
2222
"tsc": "npm run clean && tsc -p ./tsconfig.json",
2323
"tsc:pub": "npm run clean && tsc -p ./tsconfig.pub.json && npm run cp:template",
24-
"cp:template": "cp -r src/templates dist/src/templates",
24+
"cp:template": "rm -rf dist/src/templates && cp -r src/templates dist/src/templates",
2525
"prepublishOnly": "npm run tsc:pub"
2626
},
2727
"author": "killagu <[email protected]>",

0 commit comments

Comments
 (0)