File tree Expand file tree Collapse file tree 2 files changed +3
-30
lines changed
Expand file tree Collapse file tree 2 files changed +3
-30
lines changed Original file line number Diff line number Diff line change 22// Promise polyfill for old browsers
33import 'promise-polyfill/lib/polyfill';
44// @endif
5- import { DebugConfiguration } from '@aurelia/debug';
6- import { BasicConfiguration } from '@aurelia/jit-html-browser';
7- // @if shadow-dom-open || shadow-dom-closed || css-module
8- import { StyleConfiguration } from '@aurelia/runtime-html';
9- // @endif
10- import { Aurelia } from '@aurelia/runtime';
5+ import Aurelia/* @if shadow-dom-open || shadow-dom-closed || css-module */, { StyleConfiguration }/* @endif */ from 'aurelia';
116import { MyApp } from './my-app';
127
13- new Aurelia()
14- .register(
15- // @if shadow-dom-open || shadow-dom-closed
16- StyleConfiguration.shadowDOM(),
17- // @endif
18- // @if css-module
19- StyleConfiguration.cssModulesProcessor(),
20- // @endif
21- BasicConfiguration,
22- DebugConfiguration
23- )
24- .app({
25- host: document.querySelector('my-app'),
26- component: MyApp
27- })
28- .start();
8+ Aurelia/* @if shadow-dom-open || shadow-dom-closed */.register(StyleConfiguration.shadowDOM())/* @endif *//* @if css-module */.register(StyleConfiguration.cssModulesProcessor())/* @endif */.app(MyApp).start();
Original file line number Diff line number Diff line change 88 },
99 "license" : " UNLICENSED" ,
1010 "dependencies" : {
11- "@aurelia/debug" : " dev" ,
12- "@aurelia/jit-html" : " dev" ,
13- "@aurelia/jit-html-browser" : " dev" ,
14- "@aurelia/jit" : " dev" ,
15- "@aurelia/kernel" : " dev" ,
16- "@aurelia/runtime-html" : " dev" ,
17- "@aurelia/runtime-html-browser" : " dev" ,
18- "@aurelia/runtime" : " dev" ,
11+ "aurelia" : " dev" ,
1912 // @if browser-ie11
2013 "promise-polyfill" : " ^8.1.3"
2114 // @endif
You can’t perform that action at this time.
0 commit comments