We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.0.9
None
pnpm
Mac
Firefox
import MillionLint from "@million/lint"; import withBundleAnalyzer from "@next/bundle-analyzer"; /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, logging: { fetches: { fullUrl: true, }, }, }; const bundleAnalyzer = withBundleAnalyzer({ enabled: process.env.ANALYZE === "true", }); export default MillionLint.next({ + production: true, rsc: true, })(bundleAnalyzer(nextConfig));
Still gives me
Enable production mode to use Million Lint in production. This is potentially dangerous (contact: [email protected])
The error should go away.
https://stackblitz.com/edit/stackblitz-starters-oivvfn?file=next.config.mjs
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue! A maintainer will review it soon.
Sorry, something went wrong.
Hi, production mode is not supported at this time. This seems to be an unintuitive error message, we'll fix it in the next release!
No branches or pull requests
What version of
million
are you using?1.0.9
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Mac
What browser are you using?
Firefox
Describe the Bug
import MillionLint from "@million/lint"; import withBundleAnalyzer from "@next/bundle-analyzer"; /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, logging: { fetches: { fullUrl: true, }, }, }; const bundleAnalyzer = withBundleAnalyzer({ enabled: process.env.ANALYZE === "true", }); export default MillionLint.next({ + production: true, rsc: true, })(bundleAnalyzer(nextConfig));
Still gives me
What's the expected result?
The error should go away.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/stackblitz-starters-oivvfn?file=next.config.mjs
Participation
The text was updated successfully, but these errors were encountered: