fmal / gulp-inline-source

Inline flagged js & css sources.
MIT License
212 stars 31 forks source link

strange behavior with certain libraries d3/angular.js #11

Closed gad2103 closed 9 years ago

gad2103 commented 9 years ago

when i try to inline minified js for these libraries, a bunch of stuff gets put in the body tag. i'm guessing that something is triggering functions to run inside these libraries during the inlining? here's a picture of d3: screen shot 2015-01-30 at 12 56 20 pm

any ideas?

fmal commented 9 years ago

You're inlining already minified assets. Disabling compression should probably solve your issue:

inlinesource({ compress: false })