We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaa194e commit d809e03Copy full SHA for d809e03
transpiler-list.sh
@@ -0,0 +1,6 @@
1
+#!/usr/env/bin bash
2
+## @note If you need to include a lot of packages in the transpiler list you can generate the list like this:
3
+## @see https://github.com/vercel/next.js/issues/25454#issuecomment-905707191
4
+cd node_modules
5
+echo "Generating list for transpilation..."
6
+for d in $(ls); do grep '"type": "module"' "$d"/package.json >/dev/null 2>&1 && echo \"$d\", ; done
0 commit comments