Skip to content

ECMA version of tailwind.config.js is throwing error #399

Closed
@jd-solanki

Description

@jd-solanki

I am using vite + vanilla JS + pug.

I like to write in ES6 and when I setup vite with es6 and convert tailwind config's module.exports to export default

everything is working except autocompletion.

Output console shows below error:

Screenshot from 2021-08-27 18-26-12

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