aboutsummaryrefslogblamecommitdiffstats
path: root/packages/instant/webpack.config.js
blob: f7500c69c9a6c569dea0c6807110a18a1ec537ef (plain) (tree)



















                                                    
const path = require('path');
module.exports = {
    entry: './src/index.ts',
    output: {
        filename: '[name].bundle.js',
        path: path.resolve(__dirname, 'lib'),
    },
    devtool: 'source-map',
    resolve: {
        extensions: ['.js', '.json', '.ts', '.tsx'],
    },
    module: {
        rules: [
            {
                test: /\.(ts|tsx)$/,
                loader: 'awesome-typescript-loader',
            },
        ],
    },
};