docs: update README.md
This commit is contained in:
parent
bc48f143ab
commit
cd76bbfa24
|
@ -75,7 +75,7 @@ module.exports = {
|
|||
---
|
||||
**NOTE**
|
||||
|
||||
Previously it was recommended to access the `FilerWebpackPlugin` class by importing the main filer module. This was depracated due [this issue](https://github.com/filerjs/filer/issues/790). For anyone using ***filer version 1.3.1 or earlier***, please import the plugin class like this:
|
||||
Previously it was recommended to access the `FilerWebpackPlugin` class by importing the main filer module. This was depracated due [this issue](https://github.com/filerjs/filer/issues/790). For anyone using ***filer version 1.4.0 or earlier***, please import the plugin class like this:
|
||||
|
||||
```javascript
|
||||
var FilerWebpackPlugin = require('filer/src/webpack-plugin');
|
||||
|
@ -101,7 +101,7 @@ options object.
|
|||
// webpack.config.js
|
||||
module.exports = {
|
||||
plugins: [
|
||||
new filer.FilerWebpackPlugin({
|
||||
new FilerWebpackPlugin({
|
||||
// Options
|
||||
}),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue