Skip to content

Commit

Permalink
chore: add node polyfill to support buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
ainvoner committed Jul 5, 2023
1 parent 507c231 commit 7ed0e93
Show file tree
Hide file tree
Showing 3 changed files with 442 additions and 3,637 deletions.
6 changes: 5 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require("dotenv").config();
const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');
const slackUrl = "https://t.winglang.io/slack";

const winglangOrgUrl = "https://github.com/winglang";
Expand Down Expand Up @@ -65,7 +66,10 @@ const config = {
return {
resolve: {
symlinks: false,
}
},
plugins: [
new NodePolyfillPlugin(),
],
};
}
};
Expand Down
Loading

0 comments on commit 7ed0e93

Please sign in to comment.