fix: always exclude node fetch from bundles
This commit is contained in:
parent
7d5601472d
commit
27c52db167
|
@ -86,7 +86,9 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
|
|||
minify: false,
|
||||
},
|
||||
resolve: {},
|
||||
optimize: {},
|
||||
optimize: {
|
||||
"node-fetch": "export default undefined;",
|
||||
},
|
||||
polyfill: {
|
||||
exclude: ["fs"],
|
||||
globals: {
|
||||
|
|
Loading…
Reference in New Issue