Cowboy-coder / bundle-up

An asset manager for nodejs
MIT License
56 stars 22 forks source link

.svn in path of staticRoot #35

Open djmurf opened 11 years ago

djmurf commented 11 years ago

Ran into a strange problem where I've committed a project using bundle-up, and the static root ( after the commit ) contained files from the .svn metadata. It was locking up the browser when loading the dependencies.

Simple fix that works:

in bundle.coffee, line 34, exclude any files ending in 'svn-base' return fileExt != 'js' and fileExt != 'css' and fileExt != 'svn-base'

maybe a config parameter of and array of exclude patterns would be better to deal with any other metadata possibly located in the static root.

Thanks!