Explorar o código

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

Taichi Masuyama %!s(int64=3) %!d(string=hai) anos
pai
achega
88b2a1d400
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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-']),
   ];