Skip to content

Commit

Permalink
feat: polyfill console
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed Aug 5, 2024
1 parent 41f9ed5 commit 295f3f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ module.exports = class GopeedPolyfillPlugin {
assert: require.resolve('assert/'),
buffer: require.resolve('buffer/'),
constants: require.resolve('constants-browserify'),
console: require.resolve('console-browserify'),
crypto: require.resolve('crypto-browserify'),
/* eslint-disable-next-line camelcase */
child_process: false,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gopeed-polyfill-webpack-plugin",
"version": "1.0.4",
"version": "1.0.5",
"description": "Polyfill Node.js core modules in Webpack.",
"repository": "GopeedLab/gopeed-polyfill-webpack-plugin",
"author": {
Expand Down

0 comments on commit 295f3f7

Please sign in to comment.