tactivos / grunt-cdn

79 stars 53 forks source link

Add support for multiline script tags #80

Closed leanderlindahl closed 5 years ago

leanderlindahl commented 5 years ago

Example: <script src="/some-dir/js/test.js" type="text/javascript" data-attr="some-value"

" If script tags are formatted to multiple lines with eslint or prettier grunt-cdn will omit them. This regexp change should alleviate that.