mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
site: css split plugin should work with livereload
This commit is contained in:
parent
5b5b691879
commit
648476de70
@ -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'),
|
||||
|
@ -6,7 +6,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Ant Design - 一个 UI 设计语言</title>
|
||||
<link rel="icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon">
|
||||
<link rel="stylesheet" type="text/css" href="{{ root }}index.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="{{ root }}index-1.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="{{ root }}index-2.css"/>
|
||||
<!--[if lte IE 10]>
|
||||
<script
|
||||
src="https://as.alipayobjects.com/g/component/??console-polyfill/0.2.2/index.js,media-match/2.0.2/media.match.min.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user