Skip to content

Commit

Permalink
Add more ESM-only packages
Browse files Browse the repository at this point in the history
PR nasa-gcn#2395 added some more ESM-only modules, breaking local
development. Add them to the list of ESM-only modules which must
always be bundled.
  • Loading branch information
lpsinger authored and Vidushi Sharma committed Oct 28, 2024
1 parent f2f577c commit d0adf8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions remix.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -31,8 +32,10 @@ const esmOnlyModules = [
'trim-lines',
'trough',
'unified',
'universal-user-agent',
'web-namespaces',
'zwitch',
/^@octokit/,
/^hast/,
/^mdast/,
/^micromark/,
Expand Down

0 comments on commit d0adf8b

Please sign in to comment.