flut1/knockout-validator

View on GitHub
config/webpack.config.dist.js

Summary

Maintainability
A
1 hr
Test Coverage
/*eslint-disable */
var webpack = require('webpack');
var path = require('path');

module.exports = function()
{
    return {
        resolve: {
            extensions: ['', '.ts', '.js']
        },
        entry: [
            './src/index.ts'
        ],
        output: {
            library: "KnockoutValidator"
        },
        module: {
            loaders: [
                {
                    test: /\.ts$/,
                    exclude: /node_modules/,
                    loader: 'awesome-typescript-loader',
                    query: {
                        tsconfig: 'config/tsconfig.webpack.json'
                    }
                }
            ]
        },
        plugins: [],
        stats: {
            colors: true
        }
    };
};