webpack-dotnet-resources-plugin
v1.0.0
Published
Webpack plugin that outputs a json file of npm resources mapped to their public path and chunk hash.
Downloads
1
Readme
webpack-resources-plugin
Webpack plugin that outputs a json map of webpack output files to their public paths and chunk hash values.
Usage
In your webpack.config.js
:
let WebpackResourcesPlugin = require('webpack-resources-plugin');
module.exports = {
// The rest of your webpack config...
plugins: [
// Any other plugins you might be using
new WebpackResourcesPlugin({
fileName: '/path/to/output.js'
})
]
};
Options
fileName
: The name of the json file to generate the map in. Default Value:WebpackResources.json