Created
May 1, 2023 12:05
-
-
Save machour/ae342f4a5eb4618825aaad8c49b758c6 to your computer and use it in GitHub Desktop.
Fixes compatibility with old devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment