mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Maybe don't brunch non-JS compiled files.
This commit is contained in:
parent
88849d6dfb
commit
29694e2973
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ exports.config =
|
|||
# //# sourceMappingURL=/javascripts/app.js.map
|
||||
# So we remove the ones that have public in them.
|
||||
exec = require('child_process').exec
|
||||
for file in files
|
||||
for file in files when /\.js/.test file.path
|
||||
exec "perl -pi -e 's/\\/\\/# sourceMappingURL=public.*//g' #{file.path}"
|
||||
exec c
|
||||
|
||||
|
|
Loading…
Reference in a new issue