Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Unable to add multiple input bundles #4

Open
dudymas opened this issue Jul 31, 2015 · 0 comments
Open

Unable to add multiple input bundles #4

dudymas opened this issue Jul 31, 2015 · 0 comments

Comments

@dudymas
Copy link

dudymas commented Jul 31, 2015

Given a bundle with more than one globspec:

cjsx_and_coffee = Bundle(
    '*.cjsx',
    '*.coffee',
    filters=['browserify'],
    output='js_all.js'
)

I expect for the browserify filter to run once, collect both cjsx files and coffee files, and return a single bundle as js_all.js.

Instead, I get a single output with the concatenated results of running browserify separately on each globspec:

(function e(t,n,r) function s .......

(function e(t,n,r) function s .......

This causes problems both in requiring files between globspecs and also produces an error on the page due to redefining methods.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant