Skip to content

Instantly share code, notes, and snippets.

View scotteknight's full-sized avatar

Scott E. Knight scotteknight

View GitHub Profile
@scotteknight
scotteknight / environment.js
Last active July 15, 2019 16:33
Webpacker Config Files 7/10/19
const { environment } = require("@rails/webpacker");
const webpack = require("webpack");
// remove when fixed https://github.com/rails/webpacker/issues/2003
const merge = require("webpack-merge");
const sassLoader = environment.loaders.get("sass");
const cssLoader = environment.loaders.get("css");