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
Using @next/bundle-analyzer does not work for me with the latest 2.2.0 version of next-compose-plugins. It does work with version 1.0.3.
@next/bundle-analyzer
next-compose-plugins
I set up a minimal repro repo with 3 branches that test 3 cases:
v2.2.0
v1.0.3
"WORKS" means that the bundle analyzer files are opened in the browser after running:
npm install npm run analyze
The text was updated successfully, but these errors were encountered:
Running into the same issue here.
Sorry, something went wrong.
const path = require("path"); const withPlugins = require("next-compose-plugins"); const withBundleAnalyzer = require("@next/bundle-analyzer"); const plugins = [[withBundleAnalyzer, { enabled: true }]]; const nextConfig = { webpack(config) { // Import alias, to use with tsconfig.json config.resolve.alias["@modules"] = path.join(__dirname, "modules"); return config; }, }; module.exports = withPlugins(plugin, nextConfig);
Example of not working configuration with bundle analyzed :(
I have exactly the same issue! Any news/updates/fixes on this subject?
try this:
const withPlugins = require("next-compose-plugins"); const css = require("@zeit/next-css"); const withBundleAnalyzer = require("@next/bundle-analyzer")({ enabled: true, }); const nextPlugins = [[css], [withBundleAnalyzer({})]];
current setup: "next": "9.3.5", "next-compose-plugins": "^2.2.0", "@next/bundle-analyzer": "^9.3.6"
No branches or pull requests
Using
@next/bundle-analyzer
does not work for me with the latest 2.2.0 version ofnext-compose-plugins
. It does work with version 1.0.3.I set up a minimal repro repo with 3 branches that test 3 cases:
next-compose-plugins
- WORKSnext-compose-plugins
v2.2.0
- DOES NOT WORKnext-compose-plugins
v1.0.3
- WORKS"WORKS" means that the bundle analyzer files are opened in the browser after running:
The text was updated successfully, but these errors were encountered: