gulp-include
gulp-include copied to clipboard
Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools.
So basically the only way for a correct mapping is to have one include with no other code in js file. Adding anything gives an incorrect map for everything beyond...
I'm not sure about the exact context, but since upgrading to 2.4.1 (from 2.3.1) we have this error: `TypeError: resultMap.eachMapping is not a function` Node 10 Gulp 3 gulp-sourcemaps 2.6.5...
Looks like as per issues #9 and #49, sourcemaps work if there is no minification. That's great and all but sourcemaps are way more useful when minification is happening and...
like: ```javascript ... let tpl = '/*=include path/to/template.html */'; ... ```
Hi! `gulp.src('src/js/main.js') .pipe(include({ extensions: 'js', hardFail: true, separateInputs: true, includePaths: [ __dirname + '/bower_components', __dirname + '/src/js' ] })) .pipe(gulp.dest('dist/js'))` In the example above you reference "src/js/main.js". What is this...
I know this is abandoned, just thought I'd document the issue. If you specify multiple paths with includePaths in the options, it will search all paths for your file, and...
This module has tons of problems, it randomly doesn't work, messes up source mapping, and it hasn't been updated for 3 years. Does anyone know of a more reliable alternative?
Hi! Awesome plugin, love it very much! So simple `include`/`require` instead of all this bullshit with Webpack or Browserify, just like in Sass 😅 I have an idea: like in...
Hi! Is it possible to compile every `.coffee` file before it is included? Thank you!
Hi, I wrote this option for my uses, maybe other users would like it too? =) It allows users with many identical require paths across their files to declare the...