mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Fix d.ts build check to not include android17/ios.dts
This commit is contained in:
@ -419,7 +419,7 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
buildDts: {
|
buildDts: {
|
||||||
src: [
|
src: [
|
||||||
'**/*.d.ts',
|
'tns-core-modules/**/*.d.ts',
|
||||||
'!org.nativescript.widgets.d.ts',
|
'!org.nativescript.widgets.d.ts',
|
||||||
'!**/*.android.d.ts',
|
'!**/*.android.d.ts',
|
||||||
'!node_modules/**/*',
|
'!node_modules/**/*',
|
||||||
@ -427,8 +427,9 @@ module.exports = function(grunt) {
|
|||||||
'!tests/platforms/**/*.*',
|
'!tests/platforms/**/*.*',
|
||||||
'!bin/**/*',
|
'!bin/**/*',
|
||||||
'!apps/**/*',
|
'!apps/**/*',
|
||||||
'!android17.d.ts',
|
'!tns-core-modules/android17.d.ts',
|
||||||
'!ios.d.ts',
|
'!tns-core-modules/ios.d.ts',
|
||||||
|
'!tns-core-modules/org.nativescript.widgets.d.ts',
|
||||||
],
|
],
|
||||||
outDir: localCfg.outDir,
|
outDir: localCfg.outDir,
|
||||||
dest: localCfg.outDir,
|
dest: localCfg.outDir,
|
||||||
|
Reference in New Issue
Block a user