webpackIgnore: true not work in dev --turbo
Unanswered
Masai Lion posted this in #help-forum
Masai LionOP
Hi,
It looks like the webpackIgnore doesnt work when run dev --turbo
Any way to fix it?
```
It looks like the webpackIgnore doesnt work when run dev --turbo
Any way to fix it?
Module not found
2983 | const $ = (o == null ? void 0 : o.js) || Cn;
2984 | if (/\.mjs/.test($))
> 2985 | import(
| ^^^^^^^
> 2986 | /* @vite-ignore */
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2987 | /* webpackIgnore: true */
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2988 | $
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2989 | ).then((g) => {
| ^^^^^^^^^^
2990 | a.current = g.default, s();
2991 | });
2992 | else {
https://nextjs.org/docs/messages/module-not-found```