Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save datapimp/3b6415fe003a274819b3dac1bed97c16 to your computer and use it in GitHub Desktop.
Save datapimp/3b6415fe003a274819b3dac1bed97c16 to your computer and use it in GitHub Desktop.
Larger Webpack DLL Example
"boilerplate": {
"dllPlugin": {
"path": "node_modules/react-boilerplate-dlls",
"dlls": {
"SkypagerUI": [
"jquery",
"bootstrap/js/transition",
"bootstrap/js/alert",
"bootstrap/js/button",
"bootstrap/js/carousel",
"bootstrap/js/collapse",
"bootstrap/js/dropdown",
"bootstrap/js/modal",
"bootstrap/js/tooltip",
"bootstrap/js/popover",
"bootstrap/js/scrollspy",
"bootstrap/js/tab",
"bootstrap/js/affix",
"skypager-themes/vendor/chartjs-data-api",
"skypager-themes/vendor/datepicker",
"skypager-themes/vendor/enter",
"skypager-themes/vendor/image-grid",
"skypager-themes/vendor/stage",
"skypager-themes/vendor/zoom",
"react-bootstrap"
],
"AppDependencies": [
"tcomb-form",
"google-maps-react",
"react-dropzone-component"
],
"ReactBoilerplate": [
"babel-polyfill",
"fontfaceobserver",
"history",
"immutable",
"react",
"react-dom",
"react-pure-render",
"react-redux",
"react-router",
"react-router-redux",
"react-router-scroll",
"redux",
"redux-immutable",
"redux-saga",
"reselect",
"whatwg-fetch",
"react-dock",
"react-body-classname",
"moment",
"qs",
"classnames",
"autobind-decorator",
"react-json-tree"
],
"DevTools": [
"redux-devtools"
],
"CodeMirror": [
"codemirror",
"react-codemirror"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment