Skip to content

Commit e9099df

Browse files
committed
Minor config cleanup
1 parent c158803 commit e9099df

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.config/rollup.base.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export default function baseConfig(extendConfig = {}) {
130130
)
131131
},
132132
onwarn(warning, warn) {
133-
// Suppress INVALID_ANNOTATION and THIS_IS_UNDEFINED warnings.
133+
// Suppress warnings.
134134
if (
135135
warning.code === 'INVALID_ANNOTATION' ||
136136
warning.code === 'THIS_IS_UNDEFINED'

.config/rollup.dist.config.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ async function updatePackageLockFile() {
196196
await writeJson(rootPackageLockPath, lockJson, { spaces: 2 })
197197
}
198198

199-
export default () => {
200-
return baseConfig({
199+
export default () =>
200+
baseConfig({
201201
output: [
202202
{
203203
dir: path.relative(rootPath, rootDistPath),
@@ -224,4 +224,3 @@ export default () => {
224224
}
225225
]
226226
})
227-
}

0 commit comments

Comments
 (0)