var webpack = require("webpack");
var CopyWebpackPlugin = require("copy-webpack-plugin");

module.exports = {
    entry: "./src/com/mendix/widget/GoogleMaps/GoogleMaps.ts",
    output: {
        path: __dirname + "/dist/tmp",
        filename: "src/com/mendix/widget/GoogleMaps/GoogleMaps.js",
        libraryTarget:  "umd",
        umdNamedDefine: true,
        library: "com.mendix.widget.GoogleMaps.GoogleMaps"
    },
    resolve: {
        extensions: [ "", ".ts", ".tsx", ".js", ".json" ]
    },
    errorDetails: true,
    module: {
        loaders: [
            { test: /\.tsx?$/, loaders: [ "ts-loader" ] },
            { test: /\.json$/, loader: "json" }
        ]
    },
    devtool: "source-map",
    externals: [ "mxui/widget/_WidgetBase", "dojo/_base/declare" ],
    plugins: [
        new CopyWebpackPlugin([
            { from: "src/**/*.js" },
            { from: "src/**/*.xml" },
            { from: "src/**/*.css" }
        ], {
            copyUnmodified: true
        })
    ],
    watch: true
};

@@ -465,16 +465,8 @@
 ts%22,
- %22.tsx%22,
  %22.j
@@ -568,17 +568,16 @@
 t: /%5C.ts
-x
 ?$/, loa

Remove tsx settings webpack