diff --git a/static/index.html b/static/index.html index b3e3b809d..abbfbb7bf 100644 --- a/static/index.html +++ b/static/index.html @@ -9,6 +9,10 @@ try { require('coffee-script'); require('coffee-cache').setCacheDir('/tmp/atom-coffee-cache'); + Object.defineProperty(require.extensions, '.coffee', { + writable: false, + value: require.extensions['.coffee'] + }); require(currentWindow.loadSettings.bootstrapScript); currentWindow.emit('window:loaded'); }