Skip to content

Commit

Permalink
fix: specify esbuild target, fix #1901
Browse files Browse the repository at this point in the history
  • Loading branch information
lili21 authored and MichaelDeBoey committed Mar 9, 2023
1 parent d6b0499 commit 7689f12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/remix-dev/compiler/compileBrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ const createEsbuildConfig = (
entryPoints,
outdir: config.assetsBuildDirectory,
platform: "browser",
target: ['safari12'],
format: "esm",
external: [
// This allows Vanilla Extract to bundle asset imports, e.g. `import href
Expand Down

0 comments on commit 7689f12

Please sign in to comment.