0.1.2 • Published 6 years ago

antd-serlina-webpack-config v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

antd-serlina-webpack-config

npm i antd-serlina-webpack-config

withAntd

Includes:

// 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: { /** ... */ }
    }
  })
}