fix(grunt): Add platforms folder to produced NPM package (#6015)

This commit is contained in:
Martin Bektchiev
2018-07-03 12:08:19 +03:00
committed by GitHub
parent 0082dfbdb0
commit a37da87c08

View File

@@ -236,6 +236,11 @@ module.exports = function(grunt) {
], ],
dest: localCfg.outDir + "/" dest: localCfg.outDir + "/"
}, },
platformsFiles: {
expand: true,
src: "tns-core-modules/platforms/**/*.*",
dest: localCfg.outDir + "/"
},
apps: { apps: {
expand: true, expand: true,
src: copyAppsSrc, src: copyAppsSrc,
@@ -321,6 +326,7 @@ module.exports = function(grunt) {
// Register Tasks // Register Tasks
grunt.registerTask("collect-modules-raw-files", [ grunt.registerTask("collect-modules-raw-files", [
"copy:jsLibs", "copy:jsLibs",
"copy:platformsFiles",
"copy:license" "copy:license"
]); ]);