New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Million Lint Ignoring custom webpack config #1003
Comments
Thanks for opening this issue! A maintainer will review it soon. |
Thank you for this, the team is actively working on this. |
Just to add to this. It also doesn't seem to support loaders correctly. webpack: (config) => {
config.module.rules.push({
test: /\.(frag|vert|glsl)$/,
type: 'asset/source',
});
return config;
}, ./src/materials/shaders/CustomDiffuse.frag
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> #ifdef USE_MAP
| vec4 col1 = texture2D( map, vMapUv );
| if(diffuseColor.a < 0.5) It works correctly without million. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. |
Same issue here |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. |
No word on support for this? |
Hey there @Archimagus, this is being worked on by the team and will be available in the next release. I'll confirm with the team to be sure as well. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. |
bad bot |
What version of
million
are you using?3.0.6
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Windows
What browser are you using?
Chrome, Firefox
Describe the Bug
Million Lint v0.0.73
When updating the webpack config in next.config.mjs it will not get applied when using million lint and will therefore show this error:
What's the expected result?
Apply the webpack config changes correctly
Link to Minimal Reproducible Example
Participation
The text was updated successfully, but these errors were encountered: