antd-serlina-webpack-config
v0.1.2
Published
antd webpack config for serlina
Downloads
5
Readme
antd-serlina-webpack-config
npm i antd-serlina-webpack-configwithAntd
Includes:
less,less-loaderbabel-plugin-importfor importing on demand
// serlina.config.js
import { withAntd } from 'antd-serlina-webpack-config'
const myCustomConfig = (webpack, { env }) => {
return {
module: {
// ...
}
}
}
module.exports = {
webpack: withAntd(myCustomConfig, {
// you can custom the less-loader config
less: {
modifyVars: { /** ... */ }
}
})
}