Skip to content

SyntaxError: missing formal parameter (Firefox) #4463

@soullivaneuh

Description

@soullivaneuh

Describe the bug

The svelte title is replaced by 500 and I have this error on the console:

SyntaxError: missing formal parameter

Logs
Please include browser console and server logs around the time this bug occurred.

To Reproduce
To help us help you, if you've found a bug please consider the following:

  • Create a svelte template
  • Require the tailwind default config (this produce the bug):
const {
  colors, boxShadow, fontFamily, fontSize, opacity,
} = require('tailwindcss/defaultTheme');

You can also checkout this public MR: https://gitlab.com/nexylan/design/-/merge_requests/42

Expected behavior
Working without any error.

Severity
Happen on dev env only for a demo project, so not a big deal to me.

Could be problematic for other, especially with the 500 title issue.

Additional context

This happens only on v3.19.0 and v3.19.1, maybe a BC break?

I also tried a Tailwind downgrade to the old version I used before, the error still happen with Svelte 3.19.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions