HamadaFMahdi / vue-rewards

Vue-rewards lets you add micro-interactions to your app, and rewards users with the rain of confetti, emoji or balloons in seconds.
https://vuerewards.netlify.app
MIT License
104 stars 6 forks source link

Incorrect "exports" configuration in package #4

Open Heunsig opened 1 week ago

Heunsig commented 1 week ago
"exports": {
  ".": {
    "import": "./dist/vue-rewards.umd.cjs",
    "require": "./dist/vue-rewards.js"
  }
},

The "exports" configuration in the package appears to be incorrect. The values for "require" and "import" should be switched. As a result, I'm unable to import your package in my Vue + TypeScript project.

The "package.json" in the GitHub repository is correct, but the "package.json" that was pushed to npm is not. You can check out the vue-rewards npm package for reference.

HamadaFMahdi commented 1 week ago

Thanks, I will fix this today!