Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(plug-in): use absolute paths to reference entry points #71

Merged
merged 9 commits into from
Dec 21, 2014
Merged

Conversation

nikku
Copy link
Owner

@nikku nikku commented Dec 19, 2014

Closes #52

@nikku
Copy link
Owner Author

nikku commented Dec 19, 2014

Before we can actually merge this browserify/brfs#37 needs to get fixed.

Otherwise there is no other solution than to configure brfs as a global transform when using it with karma-browserify.

@nikku nikku force-pushed the 52-fix branch 2 times, most recently from cf1b663 to 7da92f8 Compare December 20, 2014 14:10
This broke change detection for external resources included via brfs.

Instead of relying on the logic we must rely on debouncing the bundle
operation to suppress the double bundle.

The delay before an actual bundling operation is triggered may now be
configured via a browserify bundleDelay property in the karma
configuration.

Related to #69
This commit removes the prebundle hook to configure and adds the
prebundle event that may be used to perform additional configuration.

This allows users to reliably hook into the bundling process in
browserify@7 times.

Closes #63
xdissent and others added 3 commits December 21, 2014 21:32
This patch returns the browserify bundle instance so other injected services
may make use of it. For example, a karma reporter may inject the browserify
framework so it can track bundle build times. Currently the framework
is `undefined` as far as the injector is concerned.
Adds a test runner for integration testing different setups. Incorporates
integration tests into `npm test` as well. The test runner exposes the bundler
instance for testing, which relies on the change in #72. Specs added for a
simple single run, an autoWatch run where a bundled file changes, and an autoWatch run
where a non-bundled file changes.

Incorporates #72
@nikku nikku merged commit 399fa6b into master Dec 21, 2014
@nikku nikku deleted the 52-fix branch December 21, 2014 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't fail if sources are included
2 participants