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

28th
Jun 2016
Knut Schleßelmann
@kschlesselmann
Jun 28 2016 08:21
Hi there. Currently I'm trying to understand the webpack process you guys use. Does it support to include bootstrap and have it built to some vendor.css?
Sean Larkin
@TheLarkInn
Jun 28 2016 12:50
It does I would recommend looking into the fundamentals of webpack and how it works so you can feel comfortable knowing how to add tools like bootstrap
Knut Schleßelmann
@kschlesselmann
Jun 28 2016 13:12
@TheLarkInn Hm … then maybe I got my webpack-bootstrap setup wrong … I'll have a look again.
Sean Larkin
@TheLarkInn
Jun 28 2016 13:13
Well I know there's a few ways to do it. Even a few plugins for bootstrap as well.
Yannick
@LPalmito
Jun 28 2016 14:10

Hey!
I’m trying to use karma and I’ve got a

SyntaxError: Use of reserved word ‘import

corresponding to the line in my *.spec.ts where I do my first import. Does anybody know how I could fix this please?

Yannick
@LPalmito
Jun 28 2016 14:20
Here is my karma.conf.js:
module.exports = function(config) {
  var testWebpackConfig = require('./webpack.test.js');
  config.set({
    basePath: '',
    frameworks: ['jasmine'],
    exclude: [ ],
    files: [
      { pattern: './config/spec-bundle.js', watched: false },
      { pattern: './**/*.spec.ts', watched: false }
    ],
    preprocessors: {
      './config/spec-bundle.js': ['coverage', 'webpack', 'sourcemap']
    },
    webpack: testWebpackConfig,
    coverageReporter: {
      dir : 'coverage/',
      reporters: [
        { type: 'text-summary' },
        { type: 'json' },
        { type: 'html' }
      ]
    },
    webpackServer: { noInfo: true },
    reporters: [ 'mocha', 'coverage' ],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: false,
    browsers: [
      'PhantomJS'
    ],
    singleRun: true
  });
};
Yuki K
@sumigoma
Jun 28 2016 20:08
@gdi2290 , any specific reason for the recent removal of phantomJS in karma launchers?
99% Cocoa
@rjlee7
Jun 28 2016 22:20
hi everyone! I was wondering if <a [routerLink]=" ['./investing'] " [routerLinkActive]="['is-active']">Investing</a> routerLinkActive still works in angular rc3?