Skip to content

Commit

Permalink
Vite ignore unknown import
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Aug 29, 2022
1 parent d431fbe commit 5042993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/react/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async function check(Component, props, children) {

async function getNodeWritable() {
let nodeStreamBuiltinModuleName = 'stream';
let { Writable } = await import(nodeStreamBuiltinModuleName);
let { Writable } = await import(/* @vite-ignore */ nodeStreamBuiltinModuleName);
return Writable;
}

Expand Down

0 comments on commit 5042993

Please sign in to comment.