hperrin / svelte-material-ui

Svelte Material UI Components
https://sveltematerialui.com/
Apache License 2.0
3.31k stars 285 forks source link

Ambiguous indirect export error upon importing SegmentedButton #536

Open Aurumaker72 opened 1 year ago

Aurumaker72 commented 1 year ago

Describe the bug Uncaught SyntaxError: ambiguous indirect export: MDCSegmentedButtonFoundation SegmentedButton.svelte:28:17 is thrown when following the Segmented Button demo

    import SegmentedButton, { Segment } from "@smui/segmented-button";
    import Button from "@smui/button";
    import { Label } from "@smui/common";

To Reproduce Steps to reproduce the behavior:

  1. Go to the Segmented Button demo
  2. Copy and paste the imports and define your own SegmentedButton
  3. npm run dev then visit your website
  4. See error

Expected behavior No error

Desktop (please complete the following information):