GithubHelp home page GithubHelp logo

Comments (6)

BCsabaEngine avatar BCsabaEngine commented on September 22, 2024 1

It does not blocking work, just a warning at npm install and every build. My vite is the latest 5.0.11.

from svelte-put.

BCsabaEngine avatar BCsabaEngine commented on September 22, 2024 1

Can I help yout with a PR?

from svelte-put.

vnphanquang avatar vnphanquang commented on September 22, 2024 1

Should be resolved in @svelte-put/[email protected]. Thank you again for your help @BCsabaEngine :data:

from svelte-put.

vnphanquang avatar vnphanquang commented on September 22, 2024

@BCsabaEngine thank you for reporting. Which vite version are you using? And is it a warning or an error that blocks you from using the package? Thanks

from svelte-put.

BCsabaEngine avatar BCsabaEngine commented on September 22, 2024

Simply just remove "svelte": "./dist/index.js", export format is ok.

so the necessary diff is:

diff --git a/node_modules/@svelte-put/modal/package.json b/node_modules/@svelte-put/modal/package.json
index b7f5941..62d8fc3 100644
--- a/node_modules/@svelte-put/modal/package.json
+++ b/node_modules/@svelte-put/modal/package.json
@@ -3,7 +3,6 @@
   "version": "1.0.5",
   "description": "Svelte async modal",
   "type": "module",
-  "svelte": "./dist/index.js",
   "main": "./dist/index.js",
   "module": "./dist/index.js",
   "exports": {

from svelte-put.

vnphanquang avatar vnphanquang commented on September 22, 2024

Thanks @BCsabaEngine for the investigation and offer to help. Let me take some time to do that today to save you the trouble of forking/pr 🙏

from svelte-put.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.