Fix Issue 790 and 791 (#795)

* fix: distribute shims and webpack folders to NPM

* docs: update README.md
This commit is contained in:
Ben Heidemann 2021-11-15 23:09:46 +00:00 committed by GitHub
parent 0b26979839
commit e135305f25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -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
}),
],

View File

@ -77,7 +77,9 @@
"files": [
"src",
"lib",
"dist"
"dist",
"shims",
"webpack"
],
"nyc": {
"exclude": [