Skip to content

Instantly share code, notes, and snippets.

Working from home

Jordan Kohl simpixelated

Working from home
Block or report user

Report or block simpixelated

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
simpixelated / build-non-split.js
Last active Apr 23, 2019
Disable Code Splitting (and caching) In Create React App
View build-non-split.js
const rewire = require('rewire');
const defaults = rewire('react-scripts/scripts/build.js');
let config = defaults.__get__('config');
config.optimization.splitChunks = {
cacheGroups: {
default: false,
You can’t perform that action at this time.