56d35ede8e
### What? Turbopack uses `parse_as_prorgram`, and in case of empty file it returns script instead of module so none of visitor runs for the rsc module. This PR attempts to workaround, however need double clarification if upstream swc behavior is desired. Closes PACK-2460 |
||
---|---|---|
.. | ||
create-next-app | ||
eslint-config-next | ||
eslint-plugin-next | ||
font | ||
next | ||
next-bundle-analyzer | ||
next-codemod | ||
next-env | ||
next-mdx | ||
next-plugin-storybook | ||
next-polyfill-module | ||
next-polyfill-nomodule | ||
next-swc | ||
react-refresh-utils | ||
third-parties |