webpack-contrib / webpack-defaults

Defaults to be shared across webpack projects
MIT License
108 stars 28 forks source link

fix: win32 install - no package.json default command created under scripts on win10 x64 #183

Open Legends opened 4 years ago

Legends commented 4 years ago

I have added a postinstall hook to package.json --> lib/postinstall-win32.js The script checks if we are on windows, if yes, it checks if the default command is already present in package.json, if not it create the command.

This PR contains a:

Motivation / Use-Case

Solves issue 181

Breaking Changes

no

Additional Info

jsf-clabot commented 4 years ago

CLA assistant check
All committers have signed the CLA.