File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ export default defineConfig((options) => {
180
180
181
181
if ( env ) {
182
182
Object . assign ( defineValues , {
183
- 'process.env. NODE_ENV' : JSON . stringify ( env ) ,
183
+ NODE_ENV : env ,
184
184
} )
185
185
}
186
186
@@ -207,7 +207,7 @@ export default defineConfig((options) => {
207
207
options . conditions = [ 'browser' ]
208
208
} ,
209
209
210
- define : defineValues ,
210
+ env : defineValues ,
211
211
async onSuccess ( ) {
212
212
if ( format === 'cjs' && name === 'production.min' ) {
213
213
writeCommonJSEntry ( outputFolder , prefix )
@@ -243,7 +243,7 @@ export default defineConfig((options) => {
243
243
// fs.copyFileSync(inputTypedefsPath, outputTypedefsPath)
244
244
}
245
245
} ,
246
- }
246
+ } satisfies TsupOptions
247
247
} )
248
248
249
249
return artifactOptions
You can’t perform that action at this time.
0 commit comments