module.exports = {
  entry: "./src/App.tsx",
  output: {
    filename: "bundle.js",
    path: __dirname + "/dist"
  },

  module: {
    rules: [
      {
        enforce: 'pre',
        test: /\.tsx?$/,
        loader: 'tslint-loader',
        exclude: /(node_modules)/,
        options: {
          configFile: 'tslint.json'
        }
      },
      // All files with a '.ts' or '.tsx' extension will be handled by 'awesome-typescript-loader'.
      {
        test: /\.tsx?$/,
        loader: "awesome-typescript-loader"
      },

      // All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'.
      {
        enforce: "pre",
        test: /\.js$/,
        loader: "source-map-loader"
      }
    ]
  },

  // Enable sourcemaps for debugging webpack's output.
  devtool: "source-map",

  resolve: {
    // Add '.ts' and '.tsx' as resolvable extensions.
    extensions: [".ts", ".tsx", ".js", ".json"]
  },

  // When importing a module whose path matches one of the following, just
  // assume a corresponding global variable exists and use that instead.
  // This is important because it allows us to avoid bundling all of our
  // dependencies, which allows browsers to cache those libraries between builds.
  externals: {
    "react": "React",
    "react-dom": "ReactDOM"
  },

  devServer: {
    contentBase: __dirname + "/dist"
  }
};
@@ -1,12 +1,71 @@
+const HtmlWebpackPlugin = require(%22html-webpack-plugin%22);%0A%0A
 module.expor
@@ -87,16 +87,20 @@
  %22./src/
+tsx/
 App.tsx%22
@@ -587,16 +587,236 @@
     %7D,%0A%0A
+      %7B%0A        test: /%5C.scss$/,%0A        include: __dirname + %22/src/scss%22,%0A        use: %5B%0A          %7B loader: %22style-loader%22 %7D,%0A          %7B loader: %22css-loader%22 %7D,%0A          %7B loader: %22sass-loader%22 %7D%0A        %5D%0A      %7D,%0A%0A
       //
@@ -1519,16 +1519,18 @@
 ilds.%0A  
+/*
 external
@@ -1584,24 +1584,26 @@
 actDOM%22%0A  %7D,
+*/
 %0A%0A  devServe
@@ -1647,11 +1647,101 @@
 ist%22%0A  %7D
+,%0A%0A  plugins: %5B%0A    new HtmlWebpackPlugin(%7B%0A      template: %22src/ejs/index.ejs%22%0A    %7D)%0A  %5D
 %0A%7D;

Add SCSS definition