Requirejs optimizer

55 Views Asked by At

Is there a way to handle errors that occur during optimisation. For example, If there is an error in a javascript file, the file should be included, but it should not be optimised . and is there an option to generate a log for the errors.

My build.js

({
    appDir: __dirname,
    baseUrl: "/",
    dir: "production-build",
    optimize: 'uglify2',
    optimizeCss: 'standard',
    removeCombined: true,
    preserveLicenseComments: false
})
0

There are 0 best solutions below