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

Version Path
email-provider-info-0.0.1 webpack.config.js
dopstick-0.0.12 lib/dopstick/generator/npm/templates/webpack.erb
dopstick-0.0.11 lib/dopstick/generator/npm/templates/webpack.erb
dopstick-0.0.10 lib/dopstick/generator/npm/templates/webpack.erb
dopstick-0.0.9 lib/dopstick/generator/npm/templates/webpack.erb
dopstick-0.0.8 lib/dopstick/generator/npm/templates/webpack.erb
dopstick-0.0.7 lib/dopstick/generator/npm/templates/webpack.erb
dopstick-0.0.6 lib/dopstick/generator/npm/templates/webpack.erb