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
|
||||
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
|
||||
exports.config.srcDir = '../core/src';
|
||||
exports.config.globalScript = '../core/src/global/ionic-global.ts';
|
||||
|
@ -11,7 +11,7 @@
|
||||
"jsxFactory": "h",
|
||||
"lib": [
|
||||
"dom",
|
||||
"es2017"
|
||||
"es5"
|
||||
],
|
||||
"module": "es2015",
|
||||
"moduleResolution": "node",
|
||||
@ -24,7 +24,7 @@
|
||||
"removeComments": false,
|
||||
"rootDir": "src",
|
||||
"strictPropertyInitialization": false,
|
||||
"target": "es2017"
|
||||
"target": "es5"
|
||||
},
|
||||
"files": [
|
||||
"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"`.
|
||||
*/
|
||||
'vertical': 'top' | 'center' | 'bottom';
|
||||
'vertical': 'top' | 'bottom' | 'center';
|
||||
}
|
||||
var HTMLIonFabElement: {
|
||||
prototype: HTMLIonFabElement;
|
||||
@ -1783,7 +1783,7 @@ declare global {
|
||||
/**
|
||||
* 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