We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 763e969 commit 70eacb6Copy full SHA for 70eacb6
1 file changed
packages/pinia/tsdown.config.ts
@@ -40,10 +40,6 @@ const esm = defineConfig({
40
41
const esmBrowser = defineConfig({
42
...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'],
47
outputOptions: {
48
entryFileNames: '[name].esm-browser.js',
49
},
@@ -73,6 +69,7 @@ const iife = defineConfig({
73
69
74
70
format: 'iife',
75
71
noExternal: ['nostics'],
72
+ inlineOnly: ['nostics'],
76
77
name: 'Pinia',
78
globals: {
0 commit comments