Skip to content

About

before webpack compile, create directory symlink.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

webpack-symlink-plugin

before webpack compile, create directory symlink.

Build Status

📦 Install

npm install webpack-symlink-plugin

🔨 Usage

const WebpackSymlinkPlugin = require("webpack-symlink-plugin");

const webpackConfig = {
    plugins: [
        new WebpackSymlinkPlugin(options),
    ],
};

module.exports = webpackConfig;

Options and Defaults

new WebpackSymlinkPlugin({
    // multi symlink maps
    symlinkList: [
        {
            // absolute path to source
            src: "path/to/src/directory",
            // absolute path to destination
            dest,
        },
    ],
    // success callback
    onSuccess: function() {},
})

About

before webpack compile, create directory symlink.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages