@gluons/vue-pack-alias-plugin

A vue-pack plugin to customize webpack's resolve.alias.

Stats

StarsIssuesVersionUpdatedCreatedSize
@gluons/vue-pack-alias-plugin
281.0.13 years ago3 years agoMinified + gzip package size for @gluons/vue-pack-alias-plugin in KB

Readme

vue-pack-alias-plugin

license npm TSLint lerna Travis (.com) Codacy grade

A vue-pack plugin to customize webpack's resolve.alias.

Installation

Require vue-pack.

npm install --save-dev @gluons/vue-pack
# or
yarn add --dev @gluons/vue-pack

Then install this plugin.

npm install --save-dev @gluons/vue-pack-alias-plugin
# or
yarn add --dev @gluons/vue-pack-alias-plugin

Usage

Add this plugin into vue-pack config.

vue-pack.config.js

const alias = require('@gluons/vue-pack-alias-plugin').default;

const aliases = {
    '@': './src'
};

module.exports = {
    plugins: [
        alias(aliases)
    ]
};

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.