Skip to content

Instantly share code, notes, and snippets.

@machour
Created May 1, 2023 12:05
Show Gist options
  • Select an option

  • Save machour/ae342f4a5eb4618825aaad8c49b758c6 to your computer and use it in GitHub Desktop.

Select an option

Save machour/ae342f4a5eb4618825aaad8c49b758c6 to your computer and use it in GitHub Desktop.

Revisions

  1. machour created this gist May 1, 2023.
    12 changes: 12 additions & 0 deletions remix.patch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    diff --git a/node_modules/@remix-run/dev/dist/compiler/compileBrowser.js b/node_modules/@remix-run/dev/dist/compiler/compileBrowser.js
    index 517068e..2846c2a 100644
    --- a/node_modules/@remix-run/dev/dist/compiler/compileBrowser.js
    +++ b/node_modules/@remix-run/dev/dist/compiler/compileBrowser.js
    @@ -87,6 +87,7 @@ const createEsbuildConfig = (config, options) => {
    entryPoints,
    outdir: config.assetsBuildDirectory,
    platform: "browser",
    + target: ["safari12.1"] ,
    format: "esm",
    external: getExternals(config),
    loader: loaders.loaders,