mirror of
https://github.com/LukeHagar/sveltekit-adapters.git
synced 2025-12-06 04:21:32 +00:00
Update dependencies and scripts in adapter-electron for improved functionality
- Added `nodemon` and `wait-on` as dependencies in the electron example's package.json for better development experience. - Updated the `dev` script to utilize `wait-on` for ensuring the Vite server is running before starting Electron. - Enhanced the README.md with clearer instructions and examples for configuring the adapter and its options. - Removed the `functions` option from the TypeScript definition to simplify the interface. - Cleaned up unused imports in setupHandler.js to streamline the code.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import fs from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
import isDev from 'electron-is-dev';
|
||||
import { protocol, net, dialog, app } from 'electron';
|
||||
import { protocol, net, dialog } from 'electron';
|
||||
import { pathToFileURL } from 'url';
|
||||
import assert from 'node:assert';
|
||||
import { parse as parseCookie, splitCookiesString } from 'set-cookie-parser';
|
||||
import { serialize as serializeCookie } from 'cookie';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user