I stumbled through a minor issue while using gulp with composer-extra-assets.
I'm used to the gulp-load-plugins module.
What this module does is essentially to automatically "require" gulp plugins based on the list of plugins listed in the package.json file.
Now, I'm sure you see the issue... composer-extra-assets is creating, then deleting the package.json file. Since there is no package.json, we cannot use gulp-load-plugins module (or any other plugin that autoloads packages based on package.json).
Would you consider a pull-request that adds a persist_package_json parameter in the extra section that prevents the package.json file from being deleted?
Hi @nsams ,
I stumbled through a minor issue while using gulp with composer-extra-assets.
I'm used to the gulp-load-plugins module. What this module does is essentially to automatically "require" gulp plugins based on the list of plugins listed in the package.json file.
Now, I'm sure you see the issue... composer-extra-assets is creating, then deleting the package.json file. Since there is no package.json, we cannot use gulp-load-plugins module (or any other plugin that autoloads packages based on package.json).
Would you consider a pull-request that adds a
persist_package_json
parameter in the extra section that prevents the package.json file from being deleted?