Skip to content

Commit

Permalink
fix: 将默认targets交由代码阶段赋值
Browse files Browse the repository at this point in the history
  • Loading branch information
xuasir committed Mar 5, 2021
1 parent 068c023 commit 853e295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-build-lib/src/plugin/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export const libBuildSchema = createSchema<ILibBuildConfig>((joi) =>

export const defaultLibBuildConfig: () => ILibBuildConfig = () => {
return {
targets: ['esm', 'cjs', 'browser']
targets: []
}
}

0 comments on commit 853e295

Please sign in to comment.