All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.4.0 (2018-03-14)
- package.json: upgrade dependencies and devDependencies (250a6cb)
3.3.0 (2018-03-14)
3.2.0 (2017-10-23)
- index.js: support multiple patterns (961b1d1), closes #2
- package.json: add
glob-all
andwarning
to dependencies (3961606) - package.json: remove
glob
from dependencies (03e08b6)
3.1.0 (2017-10-21)
- index.js: rewrite with async function (0754e72)
- package.json: add
babel-runtime
,semver
andutil.promisify
to dependencies (28cf6c5)
3.0.2 (2017-06-13)
- index.js: avoid creating a new object in reduce loop (8dcf206)
3.0.1 (2017-02-13)
3.0.0 (2016-09-22)
- index.js: error reporting behaviour changed when bail is set
Before: if bail is set, there's still an error from UnusedFilesWebpackPlugin
After: if bail is set, no error will be emitted by UnusedFilesWebpackPlugin
(Deprecated) 2.0.5 (2016-09-20)
Deprecated due to #11 (comment)
2.0.4 (2016-07-14)
2.0.3 (2016-05-30)
2.0.2 (2016-01-25)
2.0.1 (2016-01-22)
2.0.0 (2016-01-22)
- src: rewrite in ES2015 format (9a61f21)
- src: Removes commonjs module support.
Before:
// webpack.config.js
var UnusedFilesWebpackPlugin = require("unused-files-webpack-plugin");
After:
In ES2015 module format:
import UnusedFilesWebpackPlugin from "unused-files-webpack-plugin";
// it's the same as
import { default as UnusedFilesWebpackPlugin } from "unused-files-webpack-plugin";
// You could access from named export as well.
import { UnusedFilesWebpackPlugin } from "unused-files-webpack-plugin";
If you still use commonjs:
var UnusedFilesWebpackPlugin = require("unused-files-webpack-plugin").default;
// or named export
var UnusedFilesWebpackPlugin = require("unused-files-webpack-plugin").UnusedFilesWebpackPlugin;
// with destructive assignment
var { UnusedFilesWebpackPlugin } = require("unused-files-webpack-plugin");
<a name"1.3.0">
<a name"1.2.0">
-
globOptions.ignore is now overridable
If you choose to override globOptions with new ignore option, make sure you'll include
node_modules/**/*
for the new ignore.
(6b630944)
- UnusedFilesWebpackPlugin:
- UnusedFilesWebpackPlugin: use glob to select files (f8e081e8)