summaryrefslogtreecommitdiffstats
path: root/donation-calc/webpack.config.js
blob: 3c76956b2bd0ec0d291d8c5561de2e601531f87c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const path = require("path");

module.exports = {
  devtool: "source-map",
  entry: [
    "./index.js"
  ],
  output: {
    filename: "donation-calc.js",
    path: path.resolve(__dirname, "..", "js"),
    publicPath: "/js/"
  },
  module: {
    rules: [
      { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader" },
    ]
  }
};