config-overrides_20190415204811.js 333 Bytes
Newer Older
baiguangyao committed
1 2 3 4
const {
    override,
    fixBabelImports,
    addLessLoader,
5
    addDecoratorsLegacy
baiguangyao committed
6 7 8
} = require("customize-cra");

module.exports = override(
9
    addDecoratorsLegacy(),
baiguangyao committed
10 11 12 13
    fixBabelImports("import", {
        libraryName: "antd-mobile", 
        libraryDirectory: "es", 
        style: true // change importing css to less
14
    })
baiguangyao committed
15
)