1.0.1 • Published 5 years ago
grey-rewiped-utils v1.0.1
kts-chat
介绍
create-react-app 配置修改包 react-app-rewired 的工具库
https://gitee.com/grey-ts/grey-rewired-utils
使用方法
module.exports = override(
addLessLoader({
javascriptEnabled: true,
modifyVars: { '@primary-color': '#1DA57A' },
localIdentName: '[local]--[hash:base64:5]'
}),
fixBabelImports('import', {
libraryName: 'antd',
libraryDirectory: 'es',
style: 'css',
}),
setSourceMap(process.env.NODE_ENV === 'development'),
setHtmlWebpackPlugin({
compileTime: new Date().getTime(),
}),
);