Welcome to mirror list, hosted at ThFree Co, Russian Federation.

webpack.common.js - github.com/westberliner/checksum.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 24853b5eae92441a5f62a1d84b8d37ee71ecd19a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const path = require('path')

module.exports = {
  entry: {
    main: path.join(__dirname, 'src/main.js'),
  },
  output: {
    path: path.resolve(__dirname, 'js'),
    filename: 'checksum.[name].js',
  },
  module: {
    rules: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loader: 'babel-loader',
      },
    ],
  },
}