Comments (7)
So found this thread about something similar happening with another library.. it looks like datebook
is using UMD
under main
in the package.json, which apparently node doesn't like ? More info can be found at the end of this thread, maybe its useful ? sveltejs/kit#5325
from datebook.
There's an ESM version of Datebook in the dist. But if the module
entry isn't being picked up by your build, you could try referencing the ESM build directly in your import:
import { GoogleCalendar, OutlookCalendar, YahooCalendar } from "datebook/dist/datebook.esm.min.js";
from datebook.
hiya @jshor yeah i've tried that and get the same issues. However when I copy datebook.esm.min.js
locally and run my build it then works. It's very odd :(
from datebook.
@vexkiddy could you provide a repo to reproduce the issue?
from datebook.
sure! made you a version which you can clone and try out here: https://github.com/vexkiddy/datebook-sveltekit-issues
from datebook.
Thanks @vexkiddy, I believe it should be fixed now. Give v7.1.2 a try and see if it resolves your issue
from datebook.
@jshor amazing! that works like a dream! thanks so much for fixing this so quickly! :D
from datebook.
Related Issues (20)
- Please document the `ICSAlarm.action` property
- ICS file generator not escaping special characters
- Add support for uid and status properties HOT 1
- Angular 13 + jest v27 incompatibility HOT 3
- Simple html example showing which files in the distribution need to be referenced HOT 2
- .ics file's RRULE doesn't contain UNTIL parameter when setting it up in config object HOT 2
- Recurrence not working in Outlook Online Calendar HOT 2
- Broken links in documentation
- TypeError: Cannot read properties of undefined (reading 'length') HOT 2
- In ios download not working HOT 8
- How to use with unpkg?
- Invalid ICS code
- Export as ES module HOT 1
- Types are in wrong directory
- Add organizer property to ICalendar
- Lines not delimited by CRLF sequence HOT 1
- adding METHOD before BEGIN
- Outlook office.com compose link HOT 1
- Please Merge PR #223
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 datebook.