How to combine javascript files without plugins?

I prefer separete all my front-end assets from the back-end, so I use Gulp to manage (compile, mifify etc..) all my assets.

But if you want to use WordPress I found this article. I did not test the code, but by just reading and seeing the comment section I think that will work for you.

But I really recommend you to use something Like Gulp, Webpack or Yarn to manage your front-end assets.

Leave a Comment