Gulp plugin for wrapping css files into style modules

55 views
Skip to first unread message

Martin Kleinschrodt

unread,
Nov 5, 2015, 2:58:03 AM11/5/15
to Polymer
Apparently the new style modules introduced in Polymer 1.1 do not support external style sheets and <link rel="import" type="css"> has been deprecated. Since I'm using a css preprocessor, putting my style source into html modules is not an option and looking at https://github.com/Polymer/polymer/issues/2429 I'm apparently not alone. Long story short, I created a gulp plugin that wraps css into style modules:


Hope some people find this helpful!
Reply all
Reply to author
Forward
0 new messages