mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-11 04:48:44 +03: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:
parent
e705e3e045
commit
1685d62cae
@ -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');
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user