Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docusaurus-node-polyfills

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docusaurus-node-polyfills

A tiny wrapper around webpack-node-polyfills to support in docusaurus

  • 0.0.0
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
decreased by-53.75%
Maintainers
1
Weekly downloads
 
Created
Source

A tiny wrapper around node-polyfill-webpack-plugin to support node-builtins in docusaurus.

Install it from npm using

npm install docusaurus-node-polyfills --save-dev

In docusaurus.config.json add the polyfill in the plugins section

plugins: ['docusaurus-node-polyfills']

You can exclude builtin to not be polyfilled. For more details visit node-polyfill-webpack-plugin

For passing, you need to setup the plugin in this way.

plugins: [['docusaurus-node-polyfills', { excludeAliases: ['console']}]]

FAQs

Package last updated on 12 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc