@herberttn/bytenode-webpack-plugin
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,3 @@ | ||
## [1.0.2](https://github.com/herberttn/bytenode-webpack-plugin/compare/v1.0.1...v1.0.2) (2021-03-31) | ||
## [1.0.1](https://github.com/herberttn/bytenode-webpack-plugin/compare/v1.0.0...v1.0.1) (2021-03-31) | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "@herberttn/bytenode-webpack-plugin", | ||
"description": "Compile JavaScript into bytecode using bytenode", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -1,5 +0,21 @@ | ||
## @herberttn/bytenode-webpack-plugin | ||
Compile JavaScript into bytecode using [bytenode](https://www.npmjs.com/package/bytenode). | ||
Inspired by [bytenode-webpack-plugin](https://www.npmjs.com/package/bytenode-webpack-plugin). | ||
@herberttn/bytenode-webpack-plugin | ||
--- | ||
[![ci][badge-workflow-ci]][badge-workflow-ci-link] | ||
[![npm][badge-npm]][badge-npm-link] | ||
[![license][badge-license]][badge-license-link] | ||
[badge-npm]: https://img.shields.io/npm/v/@herberttn/bytenode-webpack-plugin | ||
[badge-npm-link]: https://www.npmjs.com/package/@herberttn/bytenode-webpack-plugin | ||
[badge-license]: https://img.shields.io/github/license/herberttn/bytenode-webpack-plugin | ||
[badge-license-link]: LICENSE | ||
[badge-workflow-ci]: https://github.com/herberttn/bytenode-webpack-plugin/actions/workflows/ci.yml/badge.svg?branch=main&event=push | ||
[badge-workflow-ci-link]: https://github.com/herberttn/bytenode-webpack-plugin/actions/workflows/ci.yml | ||
Compile JavaScript into bytecode using [`bytenode`][link-to-bytenode]. | ||
Inspired by [`bytenode-webpack-plugin`][link-to-bytenode-webpack-plugin]. | ||
[link-to-bytenode-webpack-plugin]: https://www.npmjs.com/package/bytenode-webpack-plugin | ||
[link-to-bytenode]: https://www.npmjs.com/package/bytenode | ||
### Install | ||
@@ -10,21 +26,18 @@ ```shell | ||
### Webpack support | ||
#### Versions | ||
|Supported|Version range| | ||
|:---:|---| | ||
|:x:|< 4| | ||
|:heavy_check_mark:|\> 4 < 5| | ||
|:grey_question:|\> 5| | ||
### Supports | ||
- [`electron-forge`][link-to-electron-forge] | ||
- :heavy_check_mark: Default configuration | ||
- [`webpack`][link-to-webpack] | ||
- :heavy_check_mark: v4 | ||
- :grey_question: v5 | ||
- :heavy_check_mark: `entry` as a `string` (e.g., `'src/index.js'`) | ||
- :heavy_exclamation_mark: `entry` as an `array` (e.g., `['src/index.js']`) | ||
- :heavy_check_mark: `entry` as an `object` (e.g., `{ main: 'src/index.js' }`) | ||
- :heavy_exclamation_mark: `entry` middlewares (e.g., `['src/index.js', 'webpack-hot-middleware/client']`) | ||
- :heavy_check_mark: Dynamic `output.filename` (e.g., `'[name].js'`) | ||
- :heavy_check_mark: Named `output.filename` (e.g., `'index.js'`) | ||
#### Features | ||
|Supported|Entry type|Output type| | ||
|:---:|---|---| | ||
|:grey_question:|one or more, as an `array`|dynamic or named| | ||
|:heavy_check_mark:|one or more, as an `object`|dynamic or named| | ||
|:heavy_check_mark:|one or more, as an `string`|dynamic or named| | ||
[link-to-electron-forge]: https://www.npmjs.com/package/electron-forge | ||
[link-to-webpack]: https://www.npmjs.com/package/webpack | ||
Examples: | ||
- Dynamic output filename: `[name].js` | ||
- Named output filename: `index.js` | ||
### Usage | ||
@@ -31,0 +44,0 @@ ```javascript |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
32980
108
0