vbenjs / vite-plugin-mock

A mock plugin for vite.use mockjs.
MIT License
609 stars 96 forks source link

fix: remove unnecessary and wrong usage of "try catch" #1

Closed btxl closed 3 years ago

btxl commented 3 years ago

it may cause other errors that are difficult to troubleshoot when the resolveModule method throws an error. For example, use the following configuration in tsconfig.json

"compilerOptions": {
    "target": "esnext"
}
anncwb commented 3 years ago

release 1.0.4