Skip to content

Commit 77e945f

Browse files
committed
release: v1.0.1
1 parent 5c9ec19 commit 77e945f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gopeed-polyfill-webpack-plugin",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Polyfill Node.js core modules in Webpack.",
55
"repository": "GopeedLab/gopeed-polyfill-webpack-plugin",
66
"author": {

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Type: `object`
3737

3838
#### excludeAliases
3939

40-
By default, the modules that were polyfilled in Webpack 4 are mirrored over. However, if you don't want a module like `console` to be polyfilled you can specify alises to be skipped here.
40+
By default, the modules that were polyfilled in Webpack 4 are mirrored over. However, if you don't want a module like `process` to be polyfilled you can specify alises to be skipped here.
4141

4242
```js
4343
const GopeedPolyfillPlugin = require('gopeed-polyfill-webpack-plugin');
@@ -46,15 +46,15 @@ module.exports = {
4646
// Other rules...
4747
plugins: [
4848
new GopeedPolyfillPlugin({
49-
excludeAliases: ['console']
49+
excludeAliases: ['process']
5050
})
5151
]
5252
};
5353
```
5454

5555
#### includeAliases
5656

57-
Alternatively, you can choose to only include certain aliases. For example, you can only have `console` polyfilled.
57+
Alternatively, you can choose to only include certain aliases. For example, you can only have `process` polyfilled.
5858

5959
```js
6060
const GopeedPolyfillPlugin = require('gopeed-polyfill-webpack-plugin');
@@ -63,7 +63,7 @@ module.exports = {
6363
// Other rules...
6464
plugins: [
6565
new GopeedPolyfillPlugin({
66-
includeAliases: ['console']
66+
includeAliases: ['process']
6767
})
6868
]
6969
};

0 commit comments

Comments
 (0)