Skip to content

Commit

Permalink
loader as a const
Browse files Browse the repository at this point in the history
  • Loading branch information
obedm503 committed Mar 25, 2018
1 parent 1c95ed5 commit ca6f8b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { App } from './app/app';
(async () => {
const host = PLATFORM.global.document.getElementById('root');
// there shouldn't be a loader, because aurelia should use standard imports
const aurelia: Aurelia = await bootstrap(host, new WebpackLoader());
const loader = new WebpackLoader();
const aurelia: Aurelia = await bootstrap(host, loader);

aurelia.use
// add plugins here
Expand Down

0 comments on commit ca6f8b7

Please sign in to comment.