Features
- Logging System: Add configurable log level (error/warn/info/debug) with UI settings
- defaultMethod Option: Add plugin option to set default HTTP method for API parsing
- Settings Modal: Combine language, network profile, and log level settings in one modal
Improvements
- Improve debug logs with detailed matching information
- Add webpack resolve aliases for pnpm workspace compatibility
Usage
// Set default method for API parsing
new ErrorMockWebpackPlugin({
apiDir: 'src/api',
defaultMethod: 'POST',
})