javascriptphpstormbundlerwebstormcombiners

How to bundle JavaScript files in PhpStorm


How to combine 2 or more JavaScript files in to a one file in PhpStorm (OR WebStorm).

I've searched and found just this result but it is not an answer: Minifying JavaScript

I want something like this: Visual studio Bundler & Minifier plugin.


Solution

  • There's no built-in feature for that in IDE. You can configure a grunt task inside IDE to concatenate files with https://github.com/gruntjs/grunt-contrib-concat See also: Combine multiple JavaScript files into one JS file and Combine and Minify Multiple CSS / JS Files