0.2.3 • Published 10 months ago

parcel-plugin-concat v0.2.3

Weekly downloads
2
License
MIT
Repository
github
Last release
10 months ago

parcel-plugin-concat

A Parcel plugin to concatenate multiple js files into a single bundle js.

Install

yarn add --dev parcel-plugin-concat

Usage

If you have more than one entry files Parcel can consume them like this:

parcel index.js another.js

or:

parcel src/**/*.js

However, the output files are not merged but still separated as individual files under dist/ unless you manually create a single entry file that requires all the individual assets.

This plugin lets you simply concatenate all the multiple entries before processing so that you can get a single output file. The name of output file adheres to the Parcel command options -o and --out-file, but otherwise it's by default bundle.js.

License

MIT

0.2.3

10 months ago

0.2.2

1 year ago

0.2.1

3 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago