Create a gist now

Instantly share code, notes, and snippets.

@tinder-rhsiao /vendor.js Secret
Created Oct 11, 2017

What would you like to do?
Whitelist vendor chunk
/**
* Core external dependencies to be cached in vendor js
*/
module.exports = [
'babel-runtime',
'buffer',
'classnames',
'core-js',
'debug',
'eventemitter3',
'events',
'fbjs',
'history',
'hoist-non-react-statics',
'idb-keyval',
'immutable',
'intl-format-cache',
'intl-messageformat-parser',
'intl-messageformat',
'intl-relativeformat',
'lodash',
'lodash-es',
'normalizr',
'raf',
'react',
'react-dom',
'react-i13n',
'react-intl',
'react-redux',
'react-router',
'react-router-dom',
'redux',
'redux-persist',
'redux-immutable',
'redux-saga',
'subscribe-ui-event',
'whatwg-fetch',
'ycb'
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment