mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Add exports folder to NODE_PATH
This is where all public classes will be exported through
This commit is contained in:
3
exports/atom-api.coffee
Normal file
3
exports/atom-api.coffee
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports =
|
||||
WorkspaceView: require './src/root-view'
|
||||
fs: require './src/fs-utils'
|
||||
@@ -45,6 +45,7 @@ class AtomWindow
|
||||
|
||||
setupNodePath: (resourcePath) ->
|
||||
paths = [
|
||||
'exports'
|
||||
'src'
|
||||
'vendor'
|
||||
'static'
|
||||
|
||||
Reference in New Issue
Block a user