webpack-glob-path-entry
v0.1.2
Published
simple glob webpack entry like gulp
Downloads
9
Readme
Webpack glob path entry
'use strict';
import globEntry from './webpack-glob-path-entry';
import path from 'path';
export default {
entry: globEntry('src/js/**/*.js'), // output: {'app': 'src/js/app.js', 'member/register': 'src/js/member/register.js'}
output: {
filename: '[name].js',
path: path.resolve(__dirname, 'dist')
}
}