Skip to content

Syntax error in addFile uglify.js using sctrict mode #928

@Harsgalt

Description

@Harsgalt

During build, following error occurs

/node_modules/grunt-durandal/node_modules/requirejs/bin/r.js:22358
function addFile(file, fileUrl) {
^^^^^^^^
Loading "build-durandal.js" tasks...ERROR

SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function.

Broken by commit 90f1965

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions