Skip to content

A docusaurus v2 plugin for extending/modifying the underlying webpack config.

Notifications You must be signed in to change notification settings

Fullscript/docusaurus-plugin-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@fullscript/docusaurus-plugin-webpack

A docusaurus v2 plugin for extending/modifying the underlying webpack config.

NOTE: This is provided without support, use at your own risk.

Installation

yarn add https://github.com/Fullscript/docusaurus-plugin-webpack#1.0.0

Usage

// docusaurus.config.js

module.exports = {
  // ...
  plugins: [
    [
      "@fullscript/docusaurus-plugin-webpack",
      {
        // Configuration for webpack-merge
        mergeStrategy: { plugins: "append", resolve: "merge" },
        // Any valid webpack configuration
        resolve: {
          alias: {
            "@foobar": "some/path",
          },
        },
        plugins: [
          new MyWebpackPlugin(),
        ],
      },
    ],
  ],
};

About

A docusaurus v2 plugin for extending/modifying the underlying webpack config.

Resources

Stars

Watchers

Forks

Packages

No packages published