Skip to content

Conversation

@antongolub
Copy link
Collaborator

  • Remove redundant (undocumented) YAML API extras
  • Override yaml pkg entry point from cjs to esm: reduce vendor bundle size by ~65Kb

Fixes #863

  • Tests pass
  • Appropriate changes to README are included in PR


const plugins = [
esbuildResolvePlugin({
yaml: path.resolve(__dirname, '../node_modules/yaml/browser'),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workaround for eemeli/yaml#560

@antonmedv antonmedv merged commit d7d074d into google:main Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

YAML.parseAllDocuments is no longer accessible

2 participants