mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(grunt): Add platforms folder to produced NPM package (#6015)
This commit is contained in:
@@ -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"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user