mikach / gulp-concat-sourcemap

Concatenate files and generate a source map file.
30 stars 9 forks source link

Allow the path for file in the sources to be relative to the from path passed in the options #17

Closed ankurp closed 8 years ago

ankurp commented 9 years ago

Allow for from option to be passed so that file source can be relative to that folder path.

mikach commented 9 years ago

Thanks! Please, check my comment and failed test.

ankurp commented 9 years ago

Thanks I will add it as a config. I wanted to output source map regardless to a file rather than have it be a property on the file.

mikach commented 9 years ago

We need to patch sourceMap property only if incoming file has the same property. In that way we keep compatibility with https://github.com/floridoo/gulp-sourcemaps