webpack-url-purge-plugin
v0.0.3
Published
Webpack url purge plugin for purging provided urls.
Downloads
250
Readme
webpack-url-purge-plugin
Purge provided uris. Only runs on production builds.
Installation
npm install --save-dev webpack-url-purge-plugin
yarn add --dev webpack-url-purge-plugin
Usage
Example webpack.config.js
const UrlPurge = require('webpack-url-purge-plugin');
module.exports = {
plugins: [
new UrlPurge([
'http://my-site.com/',
'http://my-site.com/some-article'
])
]
}