var path = require('path');

module.exports = {
    entry: './test/build/index.js',
    output: {
        path: __dirname + "/build",
        filename: "bundle.js",
        publicPath: "./build/"
    },
    bail: true,
    module: {
        loaders: [
            { test: /\.css$/, loader: 'style-loader!css-loader' },
            { test: /\.md$/, loader: 'raw-loader'},
            { test: /\.html$/, loader: "file?name=[name].[ext]" },
            { test: /\.ipynb$/, loader: 'json-loader' },
            { test: /\.json$/, loader: 'json-loader' },
        ],
    }
}

var path = require('path');

module.exports = {
    entry: './test/build/index.js',
    output: {
        path: __dirname + "/build",
        filename: "bundle.js",
        publicPath: "./build/"
    },
    bail: true,
    module: {
        loaders: [
            { test: /\.css$/, loader: 'style-loader!css-loader!postcss-loader' },
            { test: /\.md$/, loader: 'raw-loader'},
            { test: /\.html$/, loader: "file?name=[name].[ext]" },
            { test: /\.ipynb$/, loader: 'json-loader' },
            { test: /\.json$/, loader: 'json-loader' },
        ],
    },
    postcss: function () {
        return [
            require('postcss-import'),
            require('postcss-cssnext')
        ];
    }
}

Load CSS correctly in tests
Load CSS correctly in tests
