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

examples: Add an example for the next-css plugin #3739

Merged
merged 1 commit into from
Feb 16, 2018

Conversation

AriLFrankel
Copy link
Contributor

This introduces an example for the next-css plugin that demonstrates usage

  • with css modules
  • with custom webpack config
  • with post css
  • without css modules

Fix #3699

module.exports = withCSS({
cssModules: true,
webpack: function (config) {
if (ANALYZE) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets remove this. It's not related to the example. It can just be return config

@AriLFrankel AriLFrankel force-pushed the with-next-css-examples branch 2 times, most recently from d9fee32 to f38e26a Compare February 9, 2018 17:58
- with css modules
- with additional webpack config
- with post css
- without css modules

Fix vercel#3699
@timneutkens timneutkens merged commit 7b975d2 into vercel:canary Feb 16, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Feb 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants