JSPM

vue-devtools-stub

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 643808
  • Score
    100M100P100Q193893F
  • License MIT

Package Exports

  • vue-devtools-stub

Readme

vue-devtools-stub

npm version npm downloads Github Actions Codecov

Stub package for @vue/devtools-api.

Why this package:

Many of Vue 3 libraries use this package internally to integrate with devtools and mostly for development.

While normally an esm bundler version of those libraries allows tree-shaking and opting out, it is not always possible and specially problematic with externalization.

This package mocks same interface of the package.

💻 Development

  • Clone this repository
  • Enable Corepack using corepack enable (use npm i -g corepack for Node.js < 16.10)
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License

Made with 💛

Published under MIT License.