Purge provided uris. Only runs on production builds.
npm install --save-dev webpack-url-purge-plugin
yarn add --dev webpack-url-purge-plugin
const UrlPurge = require('webpack-url-purge-plugin');
module.exports = {
plugins: [
new UrlPurge([
'http://my-site.com/',
'http://my-site.com/some-article'
])
]
}