Better organise ReactSpa template so all 3rd-party code goes in vendor bundle
This commit is contained in:
parent
c55f14caf1
commit
f7bc47875f
|
|
@ -18,7 +18,7 @@ module.exports = merge({
|
|||
},
|
||||
entry: {
|
||||
main: ['./ClientApp/boot.tsx'],
|
||||
vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'style-loader', 'jquery']
|
||||
vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'react', 'react-dom', 'react-router', 'style-loader', 'jquery']
|
||||
},
|
||||
output: {
|
||||
path: path.join(__dirname, 'wwwroot', 'dist'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue