postcss-plugin-boilerplate icon indicating copy to clipboard operation
postcss-plugin-boilerplate copied to clipboard

Using `.` as the <directory> argument causes a sub-folder to be created

Open emme1444 opened this issue 4 years ago • 1 comments

When executing the following command:

npx postcss-plugin-boilerplate .

The template script creates a sub-folder from where the command was executed named the same as the folder it was executed from.

I expected the command not to create this folder, but instead just drop the files in the directory the command was executed in. And only use the current folder name as the project name of the package.json file.

If you need more info, I'm here to help!

emme1444 avatar Dec 19 '21 15:12 emme1444

Interesting idea.

I do not have time for it but will accept PR.

ai avatar Dec 19 '21 15:12 ai