Skip to content

Webpack url purge plugin for purging provided urls.

Notifications You must be signed in to change notification settings

Media24si/webpack-url-purge-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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'
        ])
    ]
}

About

Webpack url purge plugin for purging provided urls.

Resources

Stars

Watchers

Forks

Packages

No packages published