Newer
Older
fractals / webpack.config.js
@peter peter on 2 Oct 2019 421 bytes Added webpack.

module.exports = {
    entry: "./src/index.ts",
    devtool: "inline-source-map",
    module: {
        rules: [
            {
                test: /\.tsx?$/,
                use: "ts-loader",
                exclude: /node_modules/
            }
        ]
    },
    resolve: {
        extensions: [".tsx", ".ts", ".js"]
    },
    output: {
        filename: "index.js",
        path: __dirname + "/public/js"
    }
}