Skip to content

Instantly share code, notes, and snippets.

View awwsmm's full-sized avatar

Andrew awwsmm

View GitHub Profile
@awwsmm
awwsmm / webpack.config.js
Last active March 13, 2022 21:02 — forked from thatisuday/webpack.config.js
A simple Webpack configuration to compile TypeScript projects with fork-ts-checker-webpack-plugin.
const path = require( 'path' );
const ForkTsCheckerWebpackPlugin = require( 'fork-ts-checker-webpack-plugin' );
module.exports = {
// generate source maps
devtool: 'source-map',
// bundling mode
mode: 'production',