Sfoglia il codice sorgente

Add ESM deps for hast-util-select to next.config.js

Taichi Masuyama 3 anni fa
parent
commit
88b2a1d400
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      packages/app/next.config.js

+ 2 - 0
packages/app/next.config.js

@@ -41,6 +41,8 @@ const setupTranspileModules = () => {
     'vfile',
     'zwitch',
     'emoticon',
+    'direction', // for hast-util-select
+    'bcp-47-match', // for hast-util-select
     ...listPrefixedPackages(['remark-', 'rehype-', 'hast-', 'mdast-', 'micromark-', 'micromark-', 'unist-']),
   ];