You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /.gitignore file from the extension boilerplate doesn't get copied to the created extension, leading node_modules to be added to git.
This is because npm removes .gitignore files when publishing packages, meaning that even when globOptions.dot is true when calling copyTpl, the file won't be copied.
The recommended solution appears to be to rename the files to something else, such as gitignore and renaming them to .gitignore after copying them.
The text was updated successfully, but these errors were encountered:
The
/.gitignore
file from the extension boilerplate doesn't get copied to the created extension, leadingnode_modules
to be added to git.This is because npm removes
.gitignore
files when publishing packages, meaning that even whenglobOptions.dot
istrue
when callingcopyTpl
, the file won't be copied.The recommended solution appears to be to rename the files to something else, such as
gitignore
and renaming them to.gitignore
after copying them.The text was updated successfully, but these errors were encountered: