We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Currently plugins don't work in browser env.
To Reproduce Steps to reproduce the behavior:
import { createConfig, makeDocumentFromString } from '@redocly/openapi-core'; const openapi = ` openapi: "3.0.0" info: version: 1.0.0 title: Swagger Petstore `; const document = makeDocumentFromString(openapi, '/some-path'); const config = await createConfig(` lint: plugins: - './local-plugin.js' extends: - recommended `); const problems = await lintDocument({ document, config: config.styleguide, });
Cannot load ./local-plugin.js. Plugins aren't supported in browser yet.
Expected behavior
Plugin should be loaded and ran
Redocly Version(s)
v1.0.0-beta.108
Additional context
Browser
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Currently plugins don't work in browser env.
To Reproduce
Steps to reproduce the behavior:
Cannot load ./local-plugin.js. Plugins aren't supported in browser yet.
Expected behavior
Plugin should be loaded and ran
Redocly Version(s)
v1.0.0-beta.108
Additional context
Browser
The text was updated successfully, but these errors were encountered: