mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Don't copy node_modules to out dir
This commit is contained in:
11
gruntfile.js
11
gruntfile.js
@ -265,11 +265,12 @@ module.exports = function(grunt) {
|
||||
childPackageFiles: {
|
||||
expand: true,
|
||||
src: [
|
||||
localCfg.srcDir + "/**/package.json",
|
||||
"!./package.json",
|
||||
"!./Deploy/**/*.*",
|
||||
"!./bin/**/*.*",
|
||||
"!./Tests/**/*.*",
|
||||
"**/package.json",
|
||||
"!package.json",
|
||||
"!Deploy/**/*.*",
|
||||
"!bin/**/*.*",
|
||||
"!Tests/**/*.*",
|
||||
"!node_modules/**/*.*",
|
||||
"!" + localCfg.outDir + "/**/*.*"
|
||||
],
|
||||
dest: localCfg.outModulesDir + "/"
|
||||
|
Reference in New Issue
Block a user