Skip to content

Commit

Permalink
chore(website): remove unnecessary webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
homura committed Jun 27, 2024
1 parent 36866bb commit 754f923
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

const lightCodeTheme = require("prism-react-renderer/themes/github")
const darkCodeTheme = require("prism-react-renderer/themes/dracula")
const webpack = require("webpack")
const versioningBranchs = require("./versioning-branches")
const remarkGithubAdmonitionsToDirectives = require("remark-github-admonitions-to-directives")

Expand Down Expand Up @@ -70,19 +69,6 @@ const config = {
module: {
rules: [{ test: /\.m?js/, resolve: { fullySpecified: false } }],
},
resolve: {
fallback: {
crypto: require.resolve("crypto-browserify"),
buffer: require.resolve("buffer/"),
path: false,
fs: false,
stream: false,
},
},
plugins: [
new webpack.ProvidePlugin({ Buffer: ["buffer", "Buffer"] }),
new webpack.ProvidePlugin({ process: "process/browser" }),
],
}
},
}),
Expand Down

0 comments on commit 754f923

Please sign in to comment.