-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Description
I'm using postcss-cli (and autoprefixer) with the command:
postcss --use autoprefixer src/css/*.css --dir dist/css --map --local-plugins
But it is failing with a ENOENT error as the output directory dist/css does not exist (it has been cleaned as part of the build). The input directory src/css/ does exist. Full error below:
{ [Error: ENOENT: no such file or directory, open 'dist/css/main.css'] errno: -2, code: 'ENOENT', syscall: 'open', path: 'dist/css/main.css' }
Is there a way I can get postcss to create this directory before it tries to write to it?
I'm using v2.5.1
Thanks
1j01
Metadata
Metadata
Assignees
Labels
No labels