const path = require("path");

module.exports = {
    entry: "./src/renderer/MMM-awesome-alexa.ts",
    output: {
        path: path.resolve(__dirname, "."),
        filename: "MMM-awesome-alexa.js",
    },

    resolve: {
        extensions: [".ts"],
    },

    module: {
        loaders: [
            {
                test: /\.ts$/,
                loaders: ["awesome-typescript-loader"],
            }
        ],
    },
};
module.exports = {
    entry: "./src/renderer/MMM-awesome-alexa.ts",
    output: {
        path: __dirname,
        filename: "MMM-awesome-alexa.js",
    },

    resolve: {
        extensions: [".ts"],
    },

    module: {
        loaders: [
            {
                test: /\.ts$/,
                loaders: ["awesome-typescript-loader"],
            }
        ],
    },
};
Simplify config