mirror of
https://github.com/Febbweiss/springboot-react-webpack.git
synced 2026-03-04 14:15:36 +00:00
Optim: right vendors definition
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head lang="en">
|
||||
<meta charset="UTF-8" />
|
||||
<title>Comments channel</title>
|
||||
<link rel="stylesheet" href="/css/vendors.bundle.js.css" />
|
||||
<link rel="stylesheet" href="/css/vendors.css" />
|
||||
<link rel="stylesheet" href="/css/comments.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -14,7 +14,7 @@ var config = {
|
||||
resolve: {
|
||||
extensions: ['', '.js', '.jsx', '.css']
|
||||
},
|
||||
devtool: 'sourcemaps',
|
||||
devtool: 'source-map',
|
||||
cache: true,
|
||||
debug: true,
|
||||
output: {
|
||||
@@ -24,7 +24,7 @@ var config = {
|
||||
},
|
||||
plugins: [
|
||||
new ExtractTextPlugin("../css/[name].css"),
|
||||
new CommonsChunkPlugin("vendors.bundle.js", ["app", "vendors"]),
|
||||
new CommonsChunkPlugin("vendors", null, true),
|
||||
],
|
||||
module: {
|
||||
loaders: [
|
||||
|
||||
Reference in New Issue
Block a user