Skip to content

Globs don't work from the configuration file #80

Description

@morrislaptop
module.exports = {
  content: ['.vuepress/dist/*.html'],
  css: ['.vuepress/dist/assets/css/*.css'],
}

Actual
Results in Error: ENOENT: no such file or directory, open '.vuepress/dist/assets/css/*.css'
Before you open an issue, please check if a similar issue already exists or has been closed before.

Expected
Not throw error at https://github.com/FullHuman/purgecss/blob/master/src/index.js#L116

Version: 0.21.0

The glob is resolved using the CLI magically somehow.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions