Skip to content

Vue CLI plugin to use esbuild and hard-source-webpack-plugin

Notifications You must be signed in to change notification settings

HadiChen/vue-cli-plugin-faster

Repository files navigation

vue-cli-plugin-faster

Vue CLI plugin to use esbuild and hard-source-webpack-plugin

安装 install

npm i vue-cli-plugin-faster

简单配置 config

interface FasterOpts {
  // 是否开启该插件,true为禁用
  disabled?: boolean;
  // 默认['es2015']
  target?: string | string[];
  // hard-source-webpack-plugin的配置,为 false 则不使用 hardSourceWebpackPlugin
  hardSourceWebpackPluginOption?: any | false;
  // hard-source-webpack-plugin excludeModulePlugin的配置
  excludeModulePluginOption?: any
}

// vue.config.js
module.exports = {
  pluginOptions: {
    faster: {}
  }
}

About

Vue CLI plugin to use esbuild and hard-source-webpack-plugin

Resources

Stars

Watchers

Forks

Packages

No packages published