What does `transpilePackages` do?
Unanswered
Golden northern bumble bee posted this in #help-forum
Golden northern bumble beeOP
There are only a few lines of docs about the
transpilePackages
option. What precisely it does? It doesn't seem to add more input to Webpack on Next13. What if I need to process my files?9 Replies
https://www.npmjs.com/package/next-transpile-modules
You can check this npm packages and
You can check this npm packages and
transpilePackages
is replacing that libraryGolden northern bumble beeOP
Maybe I can try this module instead of the built-in option
Golden northern bumble beeOP
Know what? After reading their page I still don't have an idea how it works and what it actually does
Yeah, there is an example:
But it's not clear who does it? The module? Webpack? Babel?
<main>
{/* will output <button class="Button_error__xxxxx"> */}
<Button>Styled button</Button>
</main>
But it's not clear who does it? The module? Webpack? Babel?
oh that built-in options is there to replace the module
🤣
what's the reason you don't like that option?
Golden northern bumble beeOP
becasue it's completely not working 🙂
More info is here:
https://nextjs-forum.com/post/1290649932989988935
https://nextjs-forum.com/post/1290649932989988935