mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Don't copy vendor/apm to build folder
This is already copied as node_modules/atom-package-manager
This commit is contained in:
@@ -22,7 +22,6 @@ module.exports = (grunt) ->
|
||||
src: [
|
||||
'src/**/*.coffee'
|
||||
'static/**/*.coffee'
|
||||
'vendor/**/*.coffee'
|
||||
]
|
||||
dest: APP_DIR
|
||||
ext: '.js'
|
||||
@@ -152,6 +151,7 @@ module.exports = (grunt) ->
|
||||
ignoredPaths = [
|
||||
path.join('git-utils', 'deps')
|
||||
path.join('oniguruma', 'deps')
|
||||
path.join('vendor', 'apm')
|
||||
]
|
||||
ignoredPaths = ignoredPaths.map (ignoredPath) -> "(#{ignoredPath})"
|
||||
nodeModulesFilter = new RegExp(ignoredPaths.join('|'))
|
||||
|
||||
Reference in New Issue
Block a user