Last active
August 29, 2015 14:09
-
-
Save brianmhunt/c67d4964f1a4a1982c29 to your computer and use it in GitHub Desktop.
Revisions
-
brianmhunt revised this gist
Nov 9, 2014 . 4 changed files with 27 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ # << Any invalid Javascript character. module.exports.hereiam = -> console.log("0xDEADBEEF") This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ { "name": "b", "version": "1.0.0", "main": "b.coffee", "browserify": {"transform":["coffeeify"]} } This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ #!/usr/bin/env node var opts = { paths: ["./b/"], // global: true, // globalTransform: ['coffeeify'], }; var bundler = require('browserify')("./index.js", opts); bundler.bundle().pipe(process.stdout) This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ { "browserify": { "transform": ["coffeeify"] }, "name": "x", "version":"1.0.0" } -
brianmhunt created this gist
Nov 9, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ require('./b/b.coffee') // works require('b.coffee') // does not work