Skip to content

Instantly share code, notes, and snippets.

@mischkl
mischkl / karma.conf.js
Last active March 10, 2017 15:18
karma-webpack
var webpackConfig = require('./webpack.test.config');
module.exports = function (config) {
config.set({
basePath: './',
files: [
'app/index.ts',
'app/**/*.html',
'test/karma/test_index.ts',
'test/mock/**/*.json'
module.exports = {
entry: {
index: './app/index'
},
output: {
path: __dirname + '/dist',
filename: '[name]-[hash].js'
},
resolve: {
extensions: ['.js', '.ts'],