I factored out the CSP component into a new project called crisper:
https://github.com/polymerlabs/crisper.

You can pipe the output of vulcanize through crisper to make separate JS
and HTML files:

vulcanize target.html | crisper --html build.html --js build.js

I'll put this into the README of vulcanize.

On Mon, Apr 13, 2015 at 8:38 AM, Eric Bidelman <[email protected]> wrote:

> +Daniel Freedman <[email protected]>
>
> On Mon, Apr 13, 2015 at 7:32 AM Silver Techar <[email protected]>
> wrote:
>
>> Hi,
>>
>> How do you do following v.0.7 vulcanize command in the braeking v.1 ?
>>
>> My vulacnize v.0.7 command was: vulcanize -o ../build.html ../index.html
>> --strip --csp
>>
>> where index.html looked something like
>>
>> <!doctype html>
>> <html>
>> <head>
>>      <script src="all.js"></script>
>>
>>     <link rel="import"
>> href="bower_components/paper-input/paper-input.html">
>> ..etc..
>> </head>
>> <body>
>> <x-app></x-app>
>> </body>
>> </html>
>>
>>
>> Ref: https://github.com/Polymer/vulcanize/blob/master/CHANGELOG.md
>>
>> Kr,
>> Ainur
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Polymer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/polymer-dev/75741b5b-51f8-4bbe-8f42-9ed85cbdbfbc%40googlegroups.com
>> <https://groups.google.com/d/msgid/polymer-dev/75741b5b-51f8-4bbe-8f42-9ed85cbdbfbc%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAAUAVAgw0jNx%3DuxewDN8T9F2uMz8yf4X9WMfgJH402N%2BdCtS1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to