Skip to content

Webpack alias batch relative paths configuration plugin

License

Notifications You must be signed in to change notification settings

unadlib/alias-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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(),
    },
  }
}

About

Webpack alias batch relative paths configuration plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published