summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Cheng-Han2016-11-26 23:19:34 +0800
committerWu Cheng-Han2016-11-26 23:19:34 +0800
commitda42f735d9acd5ea3808304b35f46bf155a599ed (patch)
tree43df332fd75d910ff5e315a43830faa406d7855c
parent5287d46931f3272987b21c2d6a16e914f48029d3 (diff)
Fix missing chunks for index page in webpack config
-rw-r--r--webpackBaseConfig.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js
index 459be736..da105ee2 100644
--- a/webpackBaseConfig.js
+++ b/webpackBaseConfig.js
@@ -131,7 +131,23 @@ module.exports = {
"imports?$=jquery!jquery-mousewheel",
"bootstrap"
],
+ cover: [
+ path.join(__dirname, 'public/js/cover.js')
+ ],
+ "cover-styles-pack": [
+ path.join(__dirname, 'node_modules/bootstrap/dist/css/bootstrap.min.css'),
+ path.join(__dirname, 'node_modules/font-awesome/css/font-awesome.min.css'),
+ path.join(__dirname, 'public/css/bootstrap-social.css'),
+ path.join(__dirname, 'node_modules/select2/select2.css'),
+ path.join(__dirname, 'node_modules/select2/select2-bootstrap.css'),
+ ],
+ "cover-pack": [
+ "script!listPagnation",
+ "expose?select2!select2",
+ "expose?moment!moment",
"js-url",
+ path.join(__dirname, 'public/js/cover.js')
+ ],
index: [
"script!jquery-ui-resizable",
"js-url",