@bitjourney/check-es-version-webpack-plugin
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@bitjourney/check-es-version-webpack-plugin", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Webpack plugin to ensure the output results are valid in the specified ES version", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# check-es-version-webpack-plugin [![Build Status](https://travis-ci.org/bitjourney/check-es-version-webpack-plugin.svg?branch=master)](https://travis-ci.org/bitjourney/check-es-version-webpack-plugin) | ||
This plugin checks if the ES version of the webpack outputs is compatible with the specified version. | ||
This plugin checks if the ES version of the webpack outputs is compatible with the specified version of ES. | ||
@@ -12,3 +12,3 @@ For example, if your project supports IE11, which supports up to ES5, you have to ensure your JavaScript bundles does not include ES2015+ syntax such as classes, async/await, and so on. | ||
const { CheckEsVersionPlugin } = require("@bitjourneycheck-es-version-webpack-plugin"); | ||
const { CheckEsVersionPlugin } = require("@bitjourney/check-es-version-webpack-plugin"); | ||
@@ -32,4 +32,14 @@ const config = { | ||
## How to check the ES version | ||
## Install | ||
This is published to npmjs.com: | ||
https://www.npmjs.com/package/@bitjourney/check-es-version-webpack-plugin | ||
``` | ||
npm install @bitjourney/check-es-version-webpack-plugin | ||
``` | ||
## How it works | ||
This module uses [acorn](https://github.com/acornjs/acorn) to parse sources with a specified ES version. | ||
@@ -36,0 +46,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6930
56