Skip to content

Commit

Permalink
Ignore deno import with webpack (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
valstu committed May 29, 2024
1 parent dc64961 commit 469f27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-data-persistence/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function loadFileSystem(runtime: Runtime): Promise<FileSystem> {
/* c8 ignore next 13 */
case 'deno': {
// @ts-expect-error Deno allows TS imports
const { resolve } = await import('https://deno.land/std/path/mod.ts')
const { resolve } = await import(/* webpackIgnore: true */ 'https://deno.land/std/path/mod.ts')

// @ts-expect-error Deno is only available in Deno
const { cwd, readTextFile: readFile, writeTextFile: writeFile } = Deno
Expand Down

0 comments on commit 469f27a

Please sign in to comment.