Ver Fonte

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

Taichi Masuyama há 3 anos atrás
pai
commit
88b2a1d400
1 ficheiros alterados com 2 adições e 0 exclusões
  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-']),
   ];