generate-index-webpack-plugin
v1.0.1
Published
Bring VSCode extension "Generate Index" to webpack.
Downloads
6
Readme
generate-index-webpack-plugin
This plugin brings VSCode extension Generate Index to webpack.
Install
npm i generate-index-webpack-plugin -D
Usage
// webpack.config.js
const GenerateIndexPlugin = require('generate-index-webpack-plugin')
module.exports = {
plugins: [
new GenerateIndexPlugin({
// index file paths
patterns: [
'src/assets/all.js',
'src/**/index.{js,ts}',
'!src/**/ignore/index.js',
],
}),
],
}
License
Jay Fong (c) MIT