ericclemmons / ericclemmons/grunt-angular-templates

usemin option uglifyjs error "Maximum call stack size"

Open
#123 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
705
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Hi,
when I try the usemin option it seems to be failing:
Gruntfile code:

ngtemplates:  {

app: {
src: '<%= yeoman.app %>/templates/**/*.html',
dest: '.tmp/templates.js',
options: {
htmlmin: '<%= htmlmin.dist %>',
url: function(url) { return url.replace('.html', ''); },
module: 'mpoApp'
usemin: 'scripts\\scripts.js'
}
}
},

Error:

Running "uglify:generated" (uglify) task

[RangeError: Maximum call stack size exceeded]
>> Uglifying source .tmp/concat/scripts/scripts.js failed.
Warning: Uglification failed.
Maximum call stack size exceeded.
Use --force to continue.

Aborted due to warnings.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.