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

29th
Aug 2016
Navin Saini
@sumedha-navin
Aug 29 2016 05:25
Uncaught ReferenceError: jQuery is not defined when using angular2 with webpack. Why I am getting this error even though I added following line into vendor.ts
import "jquery";
as well as defined into webpack.common.js file like this:
new webpack.ProvidePlugin({
jQuery: 'jquery',
$: 'jquery',
jquery: 'jquery',
"window.jQuery": 'jquery',
"window.$": 'jquery',
"window.jquery": 'jquery'
})
Philip
@Phildev318RoR
Aug 29 2016 10:32
Path errors when Distributing my angularw-webpack-starter app
image.png
Justin Murphy
@jmurphzyo
Aug 29 2016 13:53
This message was deleted
This message was deleted
This message was deleted
Justin Murphy
@jmurphzyo
Aug 29 2016 13:59
This message was deleted
Justin Murphy
@jmurphzyo
Aug 29 2016 16:35
any idea why this part is not compiling correctly? <%= webpackConfig.htmlElements.headTags %>
I am just getting the plan text part. Webpack isn't injecting anything.
Femi
@fadeojo
Aug 29 2016 23:24
describe is showing as not defined in vscode
for the .spec.ts files
I figure it’s because its not imported in teh file
so is there a place where describe is globally imported?