text: var ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
  
  var path = require("path");
  var webpack = require("webpack");
  
  module.exports = {
    devtool: "eval",
    mode: "development",
    entry: ["webpack-dev-server/client?http://localhost:3000", "./src/index"],
    output: {
      path: path.join(__dirname, "dist"),
      filename: "bundle.js",
      publicPath: "/static/"
    },
    resolve: {
      extensions: [".js", ".ts", ".tsx", ".css"]
    },
    module: {
      rules: [
        {
          test: /\.tsx?$/,
          loader: "ts-loader",
          options: {
            // disable type checker - we will use it in fork plugin
            transpileOnly: true
          }
        },
        {
          test: /\.(ttf|otf|eot|svg|gif|jpg|png)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
          loader: "file-loader"
        },
        {
          test: /\.less$/,
          use: [
            { loader: "style-loader" },
            { loader: "css-loader" },
            { loader: "less-loader" }
          ]
        },
        {
          test: /\.css$/,
          use: ["style-loader", "css-loader"]
        }
      ]
    },
    plugins: [new ForkTsCheckerWebpackPlugin()]
  };
  