Repository navigation
v0.13.1
One fix. Upgrade if you build with Rspack or webpack.
Fixed
- Under Rspack and webpack a build with the plugin on failed to parse files the plugin has nothing to do with: an application's own JSON import (
JavaScript parse errorin a.jsonfile) or an SVG inlined from a stylesheet. The plugin'sloadhook had noloadInclude, and those two bundlers turn such a hook into a rule over every module that types what it loads as JavaScript. The hook is now kept to the plugin's own virtual modules. Affected 0.11.0 through 0.13.0; the other bundlers were not affected.
Docs
- The README said
ata-validatoris only used at build time. That holds for a page's build. A generated validator file that a server imports without bundling (<module>.validators.mjs, the OpenAPI validators) runs on the runtime there, so that server needsata-validatorin itsdependencies.