Skip to content

Commit d809e03

Browse files
authored
transpiler list
1 parent aaa194e commit d809e03

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

transpiler-list.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)