mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 07:41:51 +08:00
refactor(all): updating to newest stencil apis (#18578)
* chore(): update ionicons * refactor(all): updating to newest stencil apis * fix lint issues * more changes * moreee * fix treeshaking * fix config * fix checkbox * fix stuff * chore(): update ionicons * fix linting errors
This commit is contained in:
@ -3,12 +3,10 @@ import { getMode, setMode } from '@stencil/core';
|
||||
import { Mode } from '../interface';
|
||||
import { isPlatform, setupPlatforms } from '../utils/platform';
|
||||
|
||||
import { Config, configFromSession, configFromURL, saveConfig } from './config';
|
||||
import { config, configFromSession, configFromURL, saveConfig } from './config';
|
||||
|
||||
declare const Context: any;
|
||||
|
||||
const config = /*@__PURE__*/new Config();
|
||||
|
||||
let mode: Mode;
|
||||
|
||||
export function getIonMode(ref?: any): Mode {
|
||||
@ -56,5 +54,3 @@ export default function() {
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
export { config };
|
||||
|
||||
Reference in New Issue
Block a user