1.2.2 • Published 4 years ago

vue-cli-plugin-es-check v1.2.2

Weekly downloads
175
License
MIT
Repository
github
Last release
4 years ago

vue-cli-plugin-es-check

Uses es-check to enforce a maximum ES version on your bundled JS.

Helps you keep your transpileDependencies property in vue.config.js up to date.

By default, files that are "modern" are not checked (i.e. non-legacy bundles produced using vue-cli-service build --modern). Only runs in production mode.

Installation

vue add es-check

Check will automatically be run after vue-cli-service build.

Configuration

All config is optional.

// vue.config.js
{
  pluginOptions: {
    esCheck: {
      // [optional] uses sensible defaults if not set
      files: [
        // array of file patterns in glob style
        'js/chunk-vendor.*.js',
        'js/chunk-other.*.js',
        'js/app.*.js',
      ],

      // [optional] default: es5
      esVersion: 'es5'
    }
  }
}
1.2.2

4 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago