deprecate accessing FilerWebpackPlugin through index.js
This commit is contained in:
parent
fd3e397f12
commit
854b5d7e1d
|
@ -9,6 +9,15 @@ module.exports = Filer = {
|
|||
path: require('./path.js'),
|
||||
Errors: require('./errors.js'),
|
||||
Shell: require('./shell/shell.js'),
|
||||
/**
|
||||
* @deprecated Importing filer from your webpack config is not recommended.
|
||||
*
|
||||
* The filer `FilerWebpackPlugin` class is exposed directly.
|
||||
*
|
||||
* ```
|
||||
* const { FilerWebpackPlugin } = require('filer/webpack');
|
||||
* ```
|
||||
*/
|
||||
FilerWebpackPlugin: require('./webpack-plugin'),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue