-
Notifications
You must be signed in to change notification settings - Fork 512
Conversation
Current coverage is 80.82% (diff: 100%)@@ webpack-1 #269 diff @@
===========================================
Files 4 4
Lines 338 339 +1
Methods 72 72
Messages 0 0
Branches 71 72 +1
===========================================
+ Hits 273 274 +1
Misses 65 65
Partials 0 0
|
The idea looks good to me. I'm not sure of the naming so maybe others can comment on that. Please sign the CLA in any case. |
@bebraw have you also considered this for the plugin for webpack2? |
It's up to Tobias. I think I would overload new ExtractTextPlugin(({ name }) => `stylesheets/${name}.css`);
new ExtractTextPlugin({ filename: ({ name }) => `stylesheets/${name}.css` }); That's as flexible as it can get. The same idea would work elsewhere in webpack too if this scheme is acceptable. |
yep. Shall we wait for the scheme, maybe next version of webpack? |
It needs a design decision, yeah. |
@lcxfs1991 Would it be possible for you to refactor the idea to follow the specification I discussed? Instead of a new field we would overload the current |
this one can be closed |
change the filename for css