-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect .tesselignore in --slim builds
1. If opts.slim is true, i. glob for all ./**/*.tesselignore files; a. let exclusions be the result of combining the contents of each .tesselignore into a single {pattern}; ii. let b be a new browserify bundler object with the existing options that @reconbot discovered iii. let files be glob.sync(exclusions) iv. for each file of files a. call b.exclude(file) a. call b.bundle(...) v. on completion of bundle, minify and write bundled program code.
- Loading branch information
Showing
2 changed files
with
76 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters