From 648476de70d50bcc7f37464f6c8789e3af82e518 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Wed, 14 Sep 2016 14:21:13 +0800 Subject: [PATCH] site: css split plugin should work with livereload --- site/bisheng.config.js | 2 +- site/theme/static/template.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/site/bisheng.config.js b/site/bisheng.config.js index f56c4a4da0..457dd59a3a 100644 --- a/site/bisheng.config.js +++ b/site/bisheng.config.js @@ -69,7 +69,7 @@ module.exports = { site: path.join(process.cwd(), 'site'), 'react-router': 'react-router/umd/ReactRouter', }; - config.plugins.push(new CSSSplitWebpackPlugin({ imports: true })); + config.plugins.push(new CSSSplitWebpackPlugin({})); config.babel.plugins.push([ require.resolve('babel-plugin-transform-runtime'), diff --git a/site/theme/static/template.html b/site/theme/static/template.html index dbd446cd6a..996e28a17a 100644 --- a/site/theme/static/template.html +++ b/site/theme/static/template.html @@ -6,7 +6,8 @@ Ant Design - 一个 UI 设计语言 - + +