Skip to content

how to use the require syntaxΒ #2

@GabrielDelepine

Description

@GabrielDelepine

Hi

I have a little question
How to use this module with the basic require('postcss-exclude-files') syntax ?

const excludeFiles = require('postcss-exclude-files') simply does not work. I am getting the following error TypeError: excludeFiles is not a function

In the readme file you load postcss-exclude-files from a path, not from the node_modules. Is it intentional?
import excludeFiles from './app/lib/postcss-exclude-files'

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions