gulp-declare icon indicating copy to clipboard operation
gulp-declare copied to clipboard

Safely declare namespaces and set their properties

Results 10 gulp-declare issues
Sort by recently updated
recently updated
newest added

Deprecated npm package and archive the repo? No update in years

See https://github.com/lazd/gulp-handlebars/issues/56 for an example.

Seeing a very confusing bug in my Handlebars workflow: `gulp-declare` seems to swallow nearly 50% of the files in the stream. When running the task without `gulp-declare`, all 387 Handlebars...

I use the underscore separator for my templates and I think some people might find this usefull

Our template files are named according to this scheme: `unique.resource.identifier-FileName` where the URI is a dot-separated string a la Java packages. We expose them at the namespace `Handlebars.templates`. `gulp-declare` converts...

My Gulp FIle is as shown below var handlebars=require('gulp-handlebars'); var handlebarSrc = config.appBasePath + '/js/templates/*_/_.hbss', handlebarDest = config.appBasePath + '/js/libs/iea/core/js/', handlebarDestFile = config.parentAppName + '.templates.js'; gulp.task('handlebars', function() { return gulp.src(handlebarSrc)...

Running into an issue with one of the deps this lib depends on, inside `vinyl-maps`. Looks like there is a PR open to potentially fix it https://github.com/hughsk/vinyl-map/pull/11 but until that...

Hey guys, congrats and thank you for building this gulp dependency. I would like to have all my templates in the same object, and the ones that are in a...

I'm not sure if this is indented or not, but the processName function will receive the file path with `\` as the directory separator on Windows. Might wanna turn them...

I am trying to adjust the `processName` but get three leading dots after applying `declare.processNameByPath`: ``` javaScript gulp.src(['../Packages/Application/Acme.Ui/Resources/Private/Scripts/Ember/Templates/**/*.hbs']) .pipe(handlebars({ handlebars: require('ember-handlebars') })) .pipe(wrap('Ember.Handlebars.template()')) .pipe(declare({ namespace: 'Ember.TEMPLATES', noRedeclare: true, processName: function(filePath)...

bug