Add exports folder to NODE_PATH

This is where all public classes will be exported through
This commit is contained in:
Kevin Sawicki
2013-09-17 10:30:43 -07:00
parent e6d3fa7c62
commit d322f9a5fa
2 changed files with 4 additions and 0 deletions

3
exports/atom-api.coffee Normal file
View File

@@ -0,0 +1,3 @@
module.exports =
WorkspaceView: require './src/root-view'
fs: require './src/fs-utils'

View File

@@ -45,6 +45,7 @@ class AtomWindow
setupNodePath: (resourcePath) ->
paths = [
'exports'
'src'
'vendor'
'static'