Skip to content

Commit

Permalink
Add __CACHE__ as a supported module tag
Browse files Browse the repository at this point in the history
Just 'cause, you know... it might be useful.

Wouldn't be necessary if #12 were done, but this is way faster.
  • Loading branch information
gigabo committed Mar 5, 2016
1 parent fc311f2 commit fe965fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-server-gulp-module-tagger/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var replace = require("gulp-replace")
// - "__LOGGER__"
// - "__LOGGER__({ /* options */ })"
var isWindows = ('win32' === process.platform)
, REPLACE_TOKEN = /(?:__LOGGER__|__CHANNEL__)(?:\(\s*(\{[\s\S]*?\})\s*\))?/g
, REPLACE_TOKEN = /(?:__LOGGER__|__CHANNEL__|__CACHE__)(?:\(\s*(\{[\s\S]*?\})\s*\))?/g
, THIS_MODULE = isWindows
? /(?:[^\\]+\\node_modules\\)?react-server-gulp-module-tagger\\index\.js$/
: /(?:[^\/]+\/node_modules\/)?react-server-gulp-module-tagger\/index\.js$/
Expand Down

0 comments on commit fe965fc

Please sign in to comment.