Skip to content

Commit d8fa483

Browse files
committed
chore: don't fail build when analysing size
1 parent a5382c9 commit d8fa483

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const isAnalysingSize = process.env.BUNDLE_SIZE === 'true'
88

99
export default defineBuildConfig({
1010
declaration: !isAnalysingSize,
11+
failOnWarn: !isAnalysingSize,
1112
hooks: {
1213
'rollup:options'(_, options) {
1314
const plugins = (options.plugins ||= []) as InputPluginOption[]

0 commit comments

Comments
 (0)