Skip to content
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

Compatible with "next export"? #53

Closed
Vadorequest opened this issue Dec 24, 2018 · 1 comment
Closed

Compatible with "next export"? #53

Vadorequest opened this issue Dec 24, 2018 · 1 comment

Comments

@Vadorequest
Copy link

I wonder if this plugin applies when exporting using next export command, which generates a static build. I believe it should since all the operations are doing at the webpack level (AFAIK), but I could be wrong.

@cyrilwanner
Copy link
Owner

Yes, it works exactly the way you wrote it. All images will also be optimized during a next export. If you don't want that, you can exclude the plugin from the export phase in your next.config.js file.

Please feel free to open another ticket if you are experiencing problems with next export or any other feature of this plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants