Skip to content

Commit 70eacb6

Browse files
committed
build: fix nostics in iifee for ci
1 parent 763e969 commit 70eacb6

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/pinia/tsdown.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ const esm = defineConfig({
4040

4141
const esmBrowser = defineConfig({
4242
...commonOptions,
43-
// bundle nostics into the self-contained browser/iife builds; the .prod
44-
// variants set __DEV__ to false so all diagnostics (and this import) are
45-
// stripped away. The main .mjs keeps nostics external as a runtime dep.
46-
noExternal: ['nostics'],
4743
outputOptions: {
4844
entryFileNames: '[name].esm-browser.js',
4945
},
@@ -73,6 +69,7 @@ const iife = defineConfig({
7369
...commonOptions,
7470
format: 'iife',
7571
noExternal: ['nostics'],
72+
inlineOnly: ['nostics'],
7673
outputOptions: {
7774
name: 'Pinia',
7875
globals: {

0 commit comments

Comments
 (0)