Skip to content

Instantly share code, notes, and snippets.

@BiosBoy
Created January 12, 2019 22:26
Show Gist options
  • Save BiosBoy/f55994959738cf735aac0881610166bf to your computer and use it in GitHub Desktop.
Save BiosBoy/f55994959738cf735aac0881610166bf to your computer and use it in GitHub Desktop.
// import global vars for a whole app
require('./globals');
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
const debug = require('debug')('app:webpack:config');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment