Tips and tricks
Use Browserify Globally as Watcher in PhpStorm [ add import / export support ]
Use Browserify Globally as Watcher in PhpStorm [ add Babelify ]
Use Browserify Globally as Watcher in PhpStorm
external link: https://google.com …
You will need first the esmify and browser-resolve libraries
sudo npm i -g esmify browser-resolve
Then add
-p
/usr/local/lib/node_modules/esmify/esmify.js
to the browserify command
$FilePath$ -d -t [ /usr/local/lib/node_modules/babelify/index.js ] -p /usr/local/lib/node_modules/esmify/esmify.js -p [/usr/local/lib/node_modules/minifyify/lib/index.js --map $FileNameWithoutAllExtensions$.js.map --output $FileDir$/$FileNameWithoutAllExtensions$.js.map ] -o $FileDir$/$FileNameWithoutAllExtensions$.js