Gruntjs import in the source js file?

Hello!
Tell me is there such a plugin for gruntjs, which were collected into a single bundle, using imports in the source code javascript file, for example, having a file:
// main.js
@include 'foo.js';
@include 'bar.js';

All this stuff is going in bundle.js given the connection order.
June 4th 19 at 16:48
1 answer
June 4th 19 at 16:50
Found plugin https://www.npmjs.com/package/grunt-import-js which does what I need, but then I discovered browserify+babelify, it would probably be a better approach to build...

Find more questions by tags Grunt.js