| 1234567891011121314 |
- // Learn more on how to config.
- // - https://github.com/ant-tool/atool-build#配置扩展
- var HtmlWebpackPlugin = require('html-webpack-plugin');
- module.exports = function(webpackConfig) {
- webpackConfig.babel.plugins.push('transform-runtime');
- webpackConfig.babel.plugins.push(['import', {
- libraryName: 'antd',
- style: 'css',
- }]);
- return webpackConfig;
- };
|