parcel-bundler-splitable
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

parcel-bundler-splitable

It's splitsville baby!

Description

Bundler plugin for Parcel 2 that allows splitting bundles on arbitrary files

Usage

Add as a dev dependency

yarn add -D parcel-bundler-splitable

Set as bundler in .parcelrc

{
  "extends": "@parcel/config-default",
  "bundler": "parcel-bundler-splitable"
}

Set the "bundleSplits" property in your package.json

...
"bundleSplits": [
    "dist/dependencies.js"
]
...

/parcel-bundler-splitable/

    Package Sidebar

    Install

    npm i parcel-bundler-splitable

    Weekly Downloads

    4

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    44.1 kB

    Total Files

    12

    Last publish

    Collaborators

    • johnconley