mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
fix(angular): emit es5 code
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -3,6 +3,9 @@ const path = require('path');
|
|||||||
// use ionic/core's stencil config
|
// use ionic/core's stencil config
|
||||||
exports.config = require('../core/stencil.config.js').config;
|
exports.config = require('../core/stencil.config.js').config;
|
||||||
|
|
||||||
|
// user ionic core's tsconfig
|
||||||
|
exports.config.tsconfig ='../core/tsconfig.json';
|
||||||
|
|
||||||
// update where to find the original ionic/core src
|
// update where to find the original ionic/core src
|
||||||
exports.config.srcDir = '../core/src';
|
exports.config.srcDir = '../core/src';
|
||||||
exports.config.globalScript = '../core/src/global/ionic-global.ts';
|
exports.config.globalScript = '../core/src/global/ionic-global.ts';
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"jsxFactory": "h",
|
"jsxFactory": "h",
|
||||||
"lib": [
|
"lib": [
|
||||||
"dom",
|
"dom",
|
||||||
"es2017"
|
"es5"
|
||||||
],
|
],
|
||||||
"module": "es2015",
|
"module": "es2015",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
@ -24,7 +24,7 @@
|
|||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"strictPropertyInitialization": false,
|
"strictPropertyInitialization": false,
|
||||||
"target": "es2017"
|
"target": "es5"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"src/index.ts"
|
"src/index.ts"
|
||||||
|
4
core/src/components.d.ts
vendored
4
core/src/components.d.ts
vendored
@ -1752,7 +1752,7 @@ declare global {
|
|||||||
/**
|
/**
|
||||||
* Where to align the fab vertically in the viewport. Possible values are: `"top"`, `"center"`, `"bottom"`.
|
* Where to align the fab vertically in the viewport. Possible values are: `"top"`, `"center"`, `"bottom"`.
|
||||||
*/
|
*/
|
||||||
'vertical': 'top' | 'center' | 'bottom';
|
'vertical': 'top' | 'bottom' | 'center';
|
||||||
}
|
}
|
||||||
var HTMLIonFabElement: {
|
var HTMLIonFabElement: {
|
||||||
prototype: HTMLIonFabElement;
|
prototype: HTMLIonFabElement;
|
||||||
@ -1783,7 +1783,7 @@ declare global {
|
|||||||
/**
|
/**
|
||||||
* Where to align the fab vertically in the viewport. Possible values are: `"top"`, `"center"`, `"bottom"`.
|
* Where to align the fab vertically in the viewport. Possible values are: `"top"`, `"center"`, `"bottom"`.
|
||||||
*/
|
*/
|
||||||
'vertical'?: 'top' | 'center' | 'bottom';
|
'vertical'?: 'top' | 'bottom' | 'center';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user