https://github.com/iroco-co/cronparser-sveltekit
little repo to test CJS/ESM interoperability
https://github.com/iroco-co/cronparser-sveltekit
Last synced: 3 months ago
JSON representation
little repo to test CJS/ESM interoperability
- Host: GitHub
- URL: https://github.com/iroco-co/cronparser-sveltekit
- Owner: iroco-co
- License: mit
- Created: 2023-12-03T17:30:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-03T17:40:23.000Z (over 1 year ago)
- Last Synced: 2023-12-03T18:27:42.409Z (over 1 year ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sveltekit with cron-parser and luxon
This is to try to understand CJS/ESM interoperability.
This repo has been created with:
```shell
npm create svelte@latest sveltekit-luxon
npm i
npm add cron-parser
npm add luxon
# adapt routes/+page.svelte
```To run in dev mode
```shell
npm run dev
```To run in preview
```shell
npm run build
npm run preview
```To run production code
```shell
npm run build
node build
```