From d0adf8b73ed9a0b371c8f9afd60176f9041d2d7e Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Mon, 24 Jun 2024 13:56:35 -0400 Subject: [PATCH] Add more ESM-only packages PR #2395 added some more ESM-only modules, breaking local development. Add them to the list of ESM-only modules which must always be bundled. --- remix.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/remix.config.js b/remix.config.js index 744e3cca7..a51b1e1e2 100644 --- a/remix.config.js +++ b/remix.config.js @@ -14,6 +14,7 @@ const isProduction = process.env.NODE_ENV === 'production' const esmOnlyModules = [ '@nasa-gcn/remark-rehype-astro', 'bail', + 'before-after-hook', 'bcp-47-match', 'ccount', 'character-entities', @@ -31,8 +32,10 @@ const esmOnlyModules = [ 'trim-lines', 'trough', 'unified', + 'universal-user-agent', 'web-namespaces', 'zwitch', + /^@octokit/, /^hast/, /^mdast/, /^micromark/,