Skip to content

Commit

Permalink
fix(scripts): incorrect template with console plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed May 1, 2022
1 parent fa57cdf commit 99f886b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/scripts",
"description": "Workspace Scripts for Koishi",
"version": "1.3.1",
"version": "1.3.2",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/scripts/template/src/index.console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export const name = '{{name}}'
export function apply(ctx: Context) {
ctx.using(['console'], (ctx) => {
ctx.console.addEntry({
dev: resolve(__dirname, 'client/index.ts'),
prod: resolve(__dirname, 'dist'),
dev: resolve(__dirname, '../client/index.ts'),
prod: resolve(__dirname, '../dist'),
})
})
}

0 comments on commit 99f886b

Please sign in to comment.