Skip to content

我现在开发了一个 umi 插件,其中用到了 chainWebpack 方法,不知道这里面的内容怎么写测试用例 #5995

Answered by sorrycc
bluescurry asked this question in Q&A
Discussion options

You must be logged in to vote

import { Service } from 'umi'; new Service().runCommand({ name: 'webpack' } }) 拿到 webpack 配置看是否正确。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bluescurry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants