Skip to content

Commit

Permalink
chore: add node polyfill to support buffer (#507)
Browse files Browse the repository at this point in the history
# Docs updates should not be submitted in this repository

Our doc site content is being automatically updated from
[Wing](https://github.com/winglang/wing) repository docs folder.

Please submit any changes to the docs as a PR
[here](https://github.com/winglang/wing/pulls)
  • Loading branch information
ainvoner authored Jul 5, 2023
1 parent 507c231 commit 9b6c9f6
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

1 comment on commit 9b6c9f6

@vercel
Copy link

@vercel vercel bot commented on 9b6c9f6 Jul 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.