Answer the question
In order to leave comments, you need to log in
When concatenating require.js modules into one error?
Good afternoon!
I use require.js
I want to optimize the plug-in js for production, I use r.js for this,
the optimization config itself
({
appDir: "../",
baseUrl: "new/javascript/modules",
dir: "../dist",
mainConfigFile: "../main.js",
name: "main"
})
node r.js -o app.build.js
Error: Error: toString failed
at Buffer.toString (buffer.js:377:11)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question