Skip to content

MarcelRobitaille/webpack-dbust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-dbust - A webpack plugin for dbust

Saves cache-busted filenames to a json file. Deletes old cache-busted files.

Usage

const Dbust = require('webpack-dbust')

module.exports = {
  entry: './source/js/main.js',
  output: {
    path: './public/js/',
    filename: '[name]-[chunkname].js'
  },
  plugins: [ new Dbust(options) ],
}

Options

autosave

Specefies if dbust.save should be called automatically. Defaults to false.

dbust

The rest of the options are passed to dbust. They can be found here.

See also

  1. dbust
  2. gulp-dbust

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published