alias-webpack-plugin

1.0.6 • Public • Published

alias-webpack-plugin

Webpack alias batch relative paths configuration plugin

Travis Coverage Status

Usage

yarn add -D alias-webpack-plugin

Example

create alias path list to a alias.json / alias.config.js file or create a custom file from execution path

import aliasWebpackPlugin from 'alias-webpack-plugin'
 
const webpackConfig = {
  resolve: {
    alias: {
      ...aliasWebpackPlugin(),
    },
  }
}

Readme

Keywords

Package Sidebar

Install

npm i alias-webpack-plugin

Weekly Downloads

0

Version

1.0.6

License

MIT

Last publish

Collaborators

  • unadlib