Fix Issue 790 and 791 (#795)
* fix: distribute shims and webpack folders to NPM * docs: update README.md
This commit is contained in:
parent
0b26979839
commit
e135305f25
|
@ -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
|
||||
}),
|
||||
],
|
||||
|
|
|
@ -77,7 +77,9 @@
|
|||
"files": [
|
||||
"src",
|
||||
"lib",
|
||||
"dist"
|
||||
"dist",
|
||||
"shims",
|
||||
"webpack"
|
||||
],
|
||||
"nyc": {
|
||||
"exclude": [
|
||||
|
|
Loading…
Reference in New Issue