M
M
MarsFM2019-09-05 11:49:07
gulp.js
MarsFM, 2019-09-05 11:49:07

How to merge all files in js using gulp?

Plz tell me how to merge all js files into one?
I use the concat plugin, but it also adds an import, that is, the class is declared twice in one file.
Uncaught SyntaxError: Identifier 'elemBlocks' has already been declared

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2019-09-05
@AleksRap

just use webpack

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question