Skip to content

Instantly share code, notes, and snippets.

View danwellman's full-sized avatar

Dan Wellman danwellman

View GitHub Profile
@danwellman
danwellman / webpack.config.base.js
Created November 28, 2018 16:27
Custom Webpack Config
const path = require('path');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const autoprefixer = require('autoprefixer');
const postcssUrl = require('postcss-url');
const cssnano = require('cssnano');
const customProperties = require('postcss-custom-properties');
const webpack = require('webpack');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
@danwellman
danwellman / .jshintrc
Last active March 5, 2018 13:51 — forked from ScheerMT/.jshintrc
JSHint configuration as of v2.9.3 - Strict Settings with some exceptions made. Settings marked as deprecated were *not* included in order to futureproof for newer versions.
{
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
//
// This is a options template for JSHint[1] setting
// config values to be most strict:
//
// * set all enforcing options to true
// * set all relaxing options to false