Skip to content

Commit da42f73

Browse files
committed
Fix missing chunks for index page in webpack config
1 parent 5287d46 commit da42f73

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

webpackBaseConfig.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,23 @@ module.exports = {
131131
"imports?$=jquery!jquery-mousewheel",
132132
"bootstrap"
133133
],
134+
cover: [
135+
path.join(__dirname, 'public/js/cover.js')
136+
],
137+
"cover-styles-pack": [
138+
path.join(__dirname, 'node_modules/bootstrap/dist/css/bootstrap.min.css'),
139+
path.join(__dirname, 'node_modules/font-awesome/css/font-awesome.min.css'),
140+
path.join(__dirname, 'public/css/bootstrap-social.css'),
141+
path.join(__dirname, 'node_modules/select2/select2.css'),
142+
path.join(__dirname, 'node_modules/select2/select2-bootstrap.css'),
143+
],
144+
"cover-pack": [
145+
"script!listPagnation",
146+
"expose?select2!select2",
147+
"expose?moment!moment",
134148
"js-url",
149+
path.join(__dirname, 'public/js/cover.js')
150+
],
135151
index: [
136152
"script!jquery-ui-resizable",
137153
"js-url",

0 commit comments

Comments
 (0)