arian / partition-bundle

A browserify plugin to partition your modules in different bundles
114 stars 18 forks source link

Uncaught ReferenceError: loadjs is not defined #27

Open c4milo opened 8 years ago

c4milo commented 8 years ago

should it be loadScript instead?

c4milo commented 8 years ago

This is how I'm using it:

watchify bundles.json -p [ partition-bundle --map bundles.json --output build/js --url build/js ] -p browserify-hmr -dv -o /tmp/noop.js

bundles.json:

{
    "app.js": ["./app/index.js"],
    "vendor.js": [
        "react",
        "react-dom"
    ]
}