Sha256: 529b8c53f371c0def947a4baad0076fce17977e044566e96df362033c526d945
Contents?: true
Size: 661 Bytes
Versions: 8
Compression:
Stored size: 661 Bytes
Contents
/* eslint-env node */ const path = require("path"); module.exports = { mode: "production", entry: { index: "./src/index.ts", }, devtool: "source-map", output: { filename: "[name].js", path: path.resolve(__dirname, "dist"), }, module: { rules: [ { test: /\.ts$/, use: [{ loader: "babel-loader" }, { loader: "ts-loader" }], exclude: /node_modules/, }, { test: /\.js$/, use: [{ loader: "babel-loader" }], exclude: /node_modules/, }, ], }, resolve: { alias: { "~/": path.resolve(__dirname, "src/") }, extensions: [".tsx", ".ts", ".js"], }, };
Version data entries
8 entries across 8 versions & 2 rubygems