Comments (5)
You can use style
field in package.json
, e.g. : https://cdn.jsdelivr.net/npm/[email protected]/package.json
from jsdelivr.
I'll check what went wrong here because, without that field, you should get the file with the most monthly downloads, which would be /dist/style.css
from jsdelivr.
Thanks! What do you think of changing the error message (The URL is guessed and might not be correct. You can always browse all package files to find the correct one.) to something like
No style key in package.json, so the URL is guessed. Browse the packages (link to packages) to manually install more.
from jsdelivr.
I added this case to the readme and changed the message to link to that section, thanks.
from jsdelivr.
We also fixed the issue with guessing that affected this particular package. The correct file is now shown, even without the styles
field: https://www.jsdelivr.com/package/npm/simple-datatables
from jsdelivr.
Related Issues (20)
- Failed to bundle @ckeditor/ckeditor5-source-editing using Rollup v2.79.1: failed to resolve an internal import.
- Failed to bundle @smithy/hash-blob-browser using Rollup v2.79.1
- JSDelivr can't find `.wasm` file (but the esm.sh CDN works fine)
- Angular core 17.3.3 esm bundle
- esm.run fails to bundle `pixi-filters` but esm.sh works HOT 2
- Increase package size limit for Articulate360ForKhaoNiewClassroom HOT 2
- cdn.jsdelivr.net has SSL issue. HOT 252
- 421 Misdirected Request - errors HOT 2
- SSL Issue on your every link HOT 6
- Purging API reverts the resources to its past version HOT 4
- File newly added to GH repo will not cache, displays "Package size exceeded" error instead HOT 8
- h
- jsdelivr not accepting Github links
- Failed to bundle using Rollup v2.79.1
- Create '+ESM' files HOT 1
- Getting frequent error fetching stimulus-stores
- cdn.jsdelivr.net switching CDN provider HOT 2
- Socket.io: Failed to bundle using Rollup v2.79.1
- Cannot visit JsDelivr in China
- Purging v-tags does not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsdelivr.