wiledal / gulp-include

Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools.
157 stars 68 forks source link

Imrpoved the regex #100

Closed IlijazM closed 2 years ago

IlijazM commented 3 years ago

I saw some issues where people (including myself) suggested that you can use this awesome library for setting the value for variables like this:

var foo = '//=include test.json';

However, this isn't possible with the current version. I updated the regex to allow to do that. I didn't really put much effort in it so you might want to clean up some things first.