const {resolve} = require('path');
const webpack =require('webpack');

module.exports = {
    entry: [
        './index.tsx'
    ],
    output:{
        filename: 'bundle.js',
        path: resolve(__dirname, 'static'),
        publicPath: ''
    },
    resolve:{
        extensions: ['js', '.jsx', '.ts', '.tsx', '.css']
    },
    context: resolve(__dirname, 'src'),
    devtool: 'inline-source-map',
    devServer:{
        hot: true,
        contentBase: resolve(__dirname, 'static'),
        publicPath: ''
    },
    module: {
        rules:[{
                test: /\.(ts|tsx)$/,
                use: ['awesome-typescript-loader']
            },{
                test: /\.css$/,
                use: ['style-loader', 'css-loader']
            }
        ]
    },
    plugins: []
}

@@ -279,16 +279,17 @@
 ions: %5B'
+.
 js', '.j
@@ -780,9 +780,10 @@
 ns: %5B%5D%0A%7D
+;
 %0A

Fix typo for js file.