-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
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
WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte. [email protected] #310
Comments
I will fix it in 4.0.0 tomorrow |
cool, I'm really excited to hear that, |
how did you fix that? I got this warning on many packages |
@craigcosmo can you please provide more details like the package.json? |
{
"name": "sveltekit-barcode",
"version": "2.0.2",
"description": "A light-weight and high-performance component to generate barcode for Svelte.",
"author": "Bunlong",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Bunlong/svelte-barcode.git"
},
"bugs": {
"url": "https://github.com/Bunlong/svelte-barcode.git/issues"
},
"homepage": "https://github.com/Bunlong/svelte-barcode",
"svelte": "src/index.js",
"module": "dist/index.mjs",
"main": "dist/index.js",
"scripts": {
"dev": "rollup -c -w",
"build": "rollup -c",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"rollup": "^2.0.0",
"rollup-plugin-svelte": "^6.0.0",
"svelte": "^3.0.0"
},
"keywords": [
"svelte",
"svelte-barcode",
"barcode"
],
"files": [
"src",
"dist"
],
"dependencies": {
"jsbarcode": "^3.11.3"
}
} |
In this repo "exports": {
"./Router.svelte": {
"types": "./Router.d.ts",
"svelte": "./Router.svelte"
},
".": {
"types": "./Router.d.ts",
"svelte": "./Router.svelte"
}
} |
I just create a new svelte kit library from |
Hi, I received a warning like the following, How do I resolve this warning?
file package.json
The text was updated successfully, but these errors were encountered: