vue-cli-plugin-faster

0.0.3 • Public • Published

vue-cli-plugin-faster

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

简单配置

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: {}
  }
}

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i vue-cli-plugin-faster

    Weekly Downloads

    20

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    5.94 kB

    Total Files

    3

    Last publish

    Collaborators

    • huadichan