mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
site: fix site in IE9, WTF
This commit is contained in:
parent
58745edecf
commit
cda671fead
@ -86,6 +86,7 @@
|
||||
"bisheng-plugin-description": "^0.1.1",
|
||||
"bisheng-plugin-react": "^0.2.0",
|
||||
"bisheng-plugin-toc": "^0.3.0",
|
||||
"css-split-webpack-plugin": "^0.2.1",
|
||||
"dora-plugin-upload": "^0.3.1",
|
||||
"enquire.js": "^2.1.1",
|
||||
"es6-shim": "^0.35.0",
|
||||
|
@ -1,4 +1,5 @@
|
||||
const path = require('path');
|
||||
const CSSSplitWebpackPlugin = require('css-split-webpack-plugin').default;
|
||||
|
||||
function pickerGenerator(module) {
|
||||
const tester = new RegExp(`^docs/${module}`);
|
||||
@ -68,6 +69,7 @@ module.exports = {
|
||||
site: path.join(process.cwd(), 'site'),
|
||||
'react-router': 'react-router/umd/ReactRouter',
|
||||
};
|
||||
config.plugins.push(new CSSSplitWebpackPlugin({ imports: true }));
|
||||
|
||||
config.babel.plugins.push([
|
||||
require.resolve('babel-plugin-transform-runtime'),
|
||||
|
Loading…
Reference in New Issue
Block a user