gulp-webpack-glob
1.0.1 • Public • Published
Gulp Webpack Glob
Able to webpack support glob wildcards
Install
npm install gulp-webpack-glob
Usage
var webpackGlob = require('gulp-webpack-glob');
gulp.src('test/test1/index.js')
.pipe(webpackGlob())
'use strict';
import './lib/*.js';
import utils from './utils.js';
import './lib/foo.js';
import './lib/bar.js';
import utils from './utils.js';
Or with Filename as var
'use strict';
import * './lib/*.js';
import utils from './utils.js';
import foo './lib/foo.js';
import bar './lib/bar.js';
import utils from './utils.js';
The MIT License
Package Sidebar
Install
Weekly Downloads