Skip to content

Commit 5866713

Browse files
Remove style-loader from vendor bundles. Fixes aspnet#715.
1 parent 7aacf21 commit 5866713

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

templates/KnockoutSpa/webpack.config.vendor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = (env) => {
1717
]
1818
},
1919
entry: {
20-
vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'knockout', 'crossroads', 'event-source-polyfill', 'history', 'isomorphic-fetch', 'style-loader', 'jquery'],
20+
vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'knockout', 'crossroads', 'event-source-polyfill', 'history', 'isomorphic-fetch', 'jquery'],
2121
},
2222
output: {
2323
path: path.join(__dirname, 'wwwroot', 'dist'),

templates/ReactReduxSpa/webpack.config.vendor.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module.exports = (env) => {
2828
'redux',
2929
'redux-thunk',
3030
'react-router-redux',
31-
'style-loader',
3231
'jquery'
3332
],
3433
},

templates/ReactSpa/webpack.config.vendor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = (env) => {
1717
]
1818
},
1919
entry: {
20-
vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'event-source-polyfill', 'isomorphic-fetch', 'react', 'react-dom', 'react-router', 'style-loader', 'jquery'],
20+
vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'event-source-polyfill', 'isomorphic-fetch', 'react', 'react-dom', 'react-router', 'jquery'],
2121
},
2222
output: {
2323
path: path.join(__dirname, 'wwwroot', 'dist'),

0 commit comments

Comments
 (0)