mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +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: {
|
childPackageFiles: {
|
||||||
expand: true,
|
expand: true,
|
||||||
src: [
|
src: [
|
||||||
localCfg.srcDir + "/**/package.json",
|
"**/package.json",
|
||||||
"!./package.json",
|
"!package.json",
|
||||||
"!./Deploy/**/*.*",
|
"!Deploy/**/*.*",
|
||||||
"!./bin/**/*.*",
|
"!bin/**/*.*",
|
||||||
"!./Tests/**/*.*",
|
"!Tests/**/*.*",
|
||||||
|
"!node_modules/**/*.*",
|
||||||
"!" + localCfg.outDir + "/**/*.*"
|
"!" + localCfg.outDir + "/**/*.*"
|
||||||
],
|
],
|
||||||
dest: localCfg.outModulesDir + "/"
|
dest: localCfg.outModulesDir + "/"
|
||||||
|
Reference in New Issue
Block a user