These are chat archives for AngularClass/angular2-webpack-starter

18th
Oct 2016
PavloUBS
@PavloUBS
Oct 18 2016 21:23
Hi, What is the base place to put Third Party JS and CSS file what is not in NPM ?
Vendor is suggesting to include
// Add mandatory wijmo.css
require('style!css!../vendor/wijmo/wijmo.min.css');
// Wijmo core files are not modules, so add them using the script-loader
require("script!../vendor/wijmo/wijmo.min.js");
require("script!../vendor/wijmo/wijmo.input.min.js");
require("script!../vendor/wijmo/wijmo.grid.min.js");
How to ensure they would end up in vendor.*.bundle.js
PavloUBS
@PavloUBS
Oct 18 2016 21:49
and also where should I put typings to those third party libraries?
And how to register them correctly?
Tim Sandberg
@largeDachshund
Oct 18 2016 22:22
How does the app get a reference to Promise here:
export function main(): Promise<any> {
    return platformBrowserDynamic()
    .bootstrapModule(AppModule)
    .then(decorateModuleRef)
    .catch(err => console.error(err));