UNPKG

seq-logging

Version:

Sends structured log events to the Seq HTTP ingestion API

31 lines (28 loc) 602 B
const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/main.js', resolve: { fallback: { "buffer": false } }, plugins: [ new HtmlWebpackPlugin({ title: 'Logging to Seq via Browser' }), ], module: { rules: [ { test: /\.html$/, loader: 'html-loader', }, ], }, output: { filename: 'main.js', path: path.resolve(__dirname, 'dist'), clean: true, }, };