Skip to content

Instantly share code, notes, and snippets.

View dlpetrie's full-sized avatar

Daniel Petrie dlpetrie

  • Renaissance Learning
  • Placentia, CA
View GitHub Profile
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
module.exports = {
module: {
rules: [
{
include: [path.resolve(__dirname, 'src')],
loader: 'babel-loader',
options: {
const HtmlWebpackPlugin = require('html-webpack-plugin');
const TerserWebpackPlugin = require('terser-webpack-plugin');
module.exports = {
devServer: {
disableHostCheck: (process.env.NODE_ENV === 'development'),
sockHost: 'auth-dev.localhost.io'
},
configureWebpack: {
entry: {