index-file-plugin
0.1.0 • Public • Published index-file-plugin
A webpack resolver plugin to specify directory index file.
Install
npm i -D index-file-plugin
webpack config
var IndexFilePlugin = require('index-file-plugin')
var webpack = require('webpack')
{
plugins: [
new webpack.ResolverPlugin([
new IndexFilePlugin([
'[name].js',
'main.js',
'index.js'
])
])
]
}
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.1.0
1
Version History
- VersionDownloads (Last 7 Days)
- 0.1.0
1
Package Sidebar
Install
Weekly Downloads