glob-preload-key-requests-webpack-plugin
v0.1.2
Published
```js const GlobPreloadKeyRequestsPlugin = require('glob-preload-key-requests-webpack-plugin');
Downloads
3,995
Readme
Glob Preload Key Requests Webpack Plugin
const GlobPreloadKeyRequestsPlugin = require('glob-preload-key-requests-webpack-plugin');
module.exports = {
// entry: ...
// module: ...
plugins: [
new GlobPreloadKeyRequestsPlugin({
base: path.resolve(__dirname, 'build'),
src: 'index.html',
dest: 'index.html',
inlineCSS: true, // => default false
cssGlobPatterns: ['login'],
jsGlobPatterns: ['login'],
}),
]
}
License
MIT