mjetek/grunt-cdn-nobuild

plugin crashes

jandob opened this issue · 0 comments

Hey, I have a problem with the following input.

    <!-- build:css styles/vendor.css -->
    <!-- bower:css -->
    <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" />
    <!-- endbower -->
    <!-- endbuild -->

I think the problem is in https://github.com/mjetek/grunt-cdn-nobuild/blob/master/tasks/cdn_nobuild.js#L59
The RegEx.exec() runs forever.

Relevant section from Gruntfile.js:

    cdn_nobuild: {
      dist: {
       files: [{
          expand: true,
          src: ['<%= yeoman.app %>/*.html'],
          dest: '.'
        }],
      }
    },