Skip to content

Support for svelte kit #3309

Closed
Closed

Description

@mmm8955405

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem description

Due to this cmd file forge. config. js, the svelte kit cannot be supported

Proposed solution

No documents found

Alternatives considered

No documents found

Additional information

No response

Activity

  1. erickzhao commented on Aug 21, 2023

    @erickzhao
    Member

    Due to this cmd file forge. config. js, the svelte kit cannot be supported

    Can you elaborate?

  2. added
    blocked/needs-info
    on Aug 21, 2023
  3. mmm8955405 commented on Aug 22, 2023

    @mmm8955405
    Author

    This is an example of integrating the svelte kit。
    It has been unable to run since last year. The reason is ‘forge. config. js’ is a commonJS
    https://github.com/jjiii/client

  4. mmm8955405 commented on Aug 22, 2023

    @mmm8955405
    Author

    I have tried almost all methods, but they have all failed. Through electron forge+sveltekit.

  5. caoxiemeihao commented on Aug 22, 2023

    @caoxiemeihao
    Member
    - svelte.config.js
    + svelte.config.mjs
    image
    • TODO: support use esm in the forge.config.js
  6. mmm8955405 commented on Aug 25, 2023

    @mmm8955405
    Author
    - svelte.config.js
    + svelte.config.mjs
    image * [ ] TODO: support use `esm` in the `forge.config.js`

    It really works, thank you very much

  7. caoxiemeihao commented on Jan 18, 2024

    @caoxiemeihao
    Member

    note that sveltekit does not support using svelte.config.mjs

    @dominikg 👋 Thx for your reminder.

    Since electrono@28 version, "type": "module" has been supported.

  8. linked a pull request that will close this issuefeat(plugin-vite): upgrade to vite@5 #3468on Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked/needs-infobug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions