This repository was archived by the owner on Feb 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Error: EISDIR: illegal operation on a directory #39
Comments
Hey, did you manage to fix the issue? I can't see purgecss-webpack-plugin in your repo |
Hello @jsnanigans ! Nope, I didn't find a way to fix this issue. What do you mean by "I can't see purgecss-webpack-plugin in your repo" ? I installed the node package as devDependency : https://github.com/BeAPI/beapi-frontend-framework/blob/experiment/purgecss/package.json#L66 |
You likely need to pass new PurgecssPlugin({
paths: glob.sync(`${paths.appSrc}/**/*`)
}),
// becomes
new PurgecssPlugin({
paths: glob.sync(`${paths.appSrc}/**/*`, { nodir: true })
}), |
I ran into this issue as well. Passing nodir worked. |
4 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I try to install purgecss-webpack-plugin on my stack but I get the following error :
You can reproduce the issue by cloning the repo : https://github.com/BeAPI/beapi-frontend-framework/tree/experiment/purgecss
Version of purgecss-webpack-plugin : 1.2.0
The text was updated successfully, but these errors were encountered: