rofrischmann/fela

View on GitHub
examples/example-inferno/webpack.config.js

Summary

Maintainability
A
3 hrs
Test Coverage
const path = require('path')

module.exports = {
  cache: true,
  devtool: 'source-map',
  entry: {
    app: './client.js',
  },
  output: {
    path: path.join(__dirname),
    publicPath: '/',
    filename: 'bundle.js',
    chunkFilename: '[chunkhash].js',
  },
  module: {
    rules: [
      {
        test: /\.js$/,
        loader: 'babel-loader',
        exclude: /node_modules/,
      },
    ],
  },
}