content security policy - Polymer Vulcanize CSS -
content security policy - Polymer Vulcanize CSS -
i trying bundle polymer web app chrome packaged app, running issues surrounding chrome's content security policy (csp). vulcanizing app (with --csp
option) before packaging it, works great javascript portion, fails extract css inlined in polymer's elements. there way either 1) override csp polymer's css or 2) extract css , place in separate file polymer elements?
as far can tell, there pr in works resolve issue, hasn't been updated since august: https://github.com/polymer/vulcanize/pull/33.
you can utilize gulp-cssmin concatenate css extracted inline htmls vulcanize --csp option.
see illustration of clean-css in github page:
type one.css two.css three.css | cleancss -o merged-and-minified.css
polymer content-security-policy google-chrome-app
Comments
Post a Comment