Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Add a jail feature #53

Merged
merged 1 commit into from
Mar 30, 2017
Merged

Add a jail feature #53

merged 1 commit into from
Mar 30, 2017

Conversation

armandabric
Copy link
Contributor

@armandabric armandabric commented Aug 23, 2016

Like we discuss the other day on gitter. If you think this feature as not is place in this plugin you can close this PR.

This PR a chroot like feature. If a module is defined outside the jail, it will be marked as external and not bundled.

@giovannicandido
Copy link

My use case is a angular 2 library. I just want the resolution of index.js files in my own module, but I need to skip all node_modules folder. Current is problematic because I need to know the entire graph of rxjs and angular which is impossible, and my bundle is getting close to 1MB size.

@Rich-Harris Rich-Harris merged commit 48127ab into rollup:master Mar 30, 2017
@Rich-Harris
Copy link
Contributor

Released as 2.1.0 — sorry for the epic delay

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

Successfully merging this pull request may close these issues.

3 participants