Remove style-loader from vendor bundles. Fixes #715.

This commit is contained in:
Steve Sanderson
2017-03-13 11:11:38 -07:00
parent 7aacf2151c
commit 5866713a05
3 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ module.exports = (env) => {
] ]
}, },
entry: { entry: {
vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'knockout', 'crossroads', 'event-source-polyfill', 'history', 'isomorphic-fetch', 'style-loader', 'jquery'], vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'knockout', 'crossroads', 'event-source-polyfill', 'history', 'isomorphic-fetch', 'jquery'],
}, },
output: { output: {
path: path.join(__dirname, 'wwwroot', 'dist'), path: path.join(__dirname, 'wwwroot', 'dist'),

View File

@@ -28,7 +28,6 @@ module.exports = (env) => {
'redux', 'redux',
'redux-thunk', 'redux-thunk',
'react-router-redux', 'react-router-redux',
'style-loader',
'jquery' 'jquery'
], ],
}, },

View File

@@ -17,7 +17,7 @@ module.exports = (env) => {
] ]
}, },
entry: { entry: {
vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'event-source-polyfill', 'isomorphic-fetch', 'react', 'react-dom', 'react-router', 'style-loader', 'jquery'], vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'event-source-polyfill', 'isomorphic-fetch', 'react', 'react-dom', 'react-router', 'jquery'],
}, },
output: { output: {
path: path.join(__dirname, 'wwwroot', 'dist'), path: path.join(__dirname, 'wwwroot', 'dist'),