Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

IIFE vs ES output format #275

Description

@xiaohk

Hello, right now the default output format is iife in the rollup configuration. I am wondering if iife is recommended for Svelte projects comparing to the es module format? I can make the es format work if I add a type='module' in the index.html, but I am not sure about the pros and cons of these two formats.

format: 'iife',

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions