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

Upgrade neutrino and make it extract css to file #66

Merged
merged 5 commits into from
Mar 15, 2017
Merged

Conversation

eirikurn
Copy link
Member

No description provided.

@eirikurn eirikurn requested a review from rthor March 15, 2017 02:13
@eirikurn eirikurn mentioned this pull request Mar 15, 2017

// Add plugin to save extracted css.
config.plugin('extract-css')
.use(ExtractTextPlugin, [{
filename: '[name].[chunkhash].bundle.css',
}])
}

// For loaders, the order matters. In this case we want to prepend
// a loader before existing loaders.
Copy link
Member

Choose a reason for hiding this comment

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

Would be good to explain the "why" instead of repeating the function name :) Just for the future :)

NOTE: I, ragnar, am way bad at writing comments, so I'm basically commenting here to remind myself 🤓

@eirikurn eirikurn merged commit ea65918 into master Mar 15, 2017
@eirikurn eirikurn deleted the extract-css branch March 15, 2017 17:10
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

Successfully merging this pull request may close these issues.

2 participants