mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Don't allow caching of coffee requires to be overridden in tasks
This is a follow-on to the previous commit which handled the index.html case.
This commit is contained in:
@@ -16,6 +16,10 @@ class Task
|
||||
bootstrap = """
|
||||
require('coffee-script');
|
||||
require('coffee-cache').setCacheDir('/tmp/atom-coffee-cache');
|
||||
Object.defineProperty(require.extensions, '.coffee', {
|
||||
writable: false,
|
||||
value: require.extensions['.coffee']
|
||||
});
|
||||
require('task-bootstrap');
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user