Skip to content

关于在hey.config.js中添加webpack的rules的问题 #16

@zhoujh001

Description

@zhoujh001

如果在hey.config.js中添加module:{rules:[]},在generatorWebpackConfig.js中初始化好的rules会被覆盖掉。
if(webpackConfig.module) { for(var m in webpackConfig.module) { genWebpackConfig.module[m] = webpackConfig.module[m]; } }
但是我有需要手工添加rules,所以只能去修改generatorWebpackConfig.js的源码

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions