Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example configuration for latest Grunt 0.4.4 is missing #86

Open
safjanowski opened this issue Apr 16, 2014 · 0 comments
Open

Example configuration for latest Grunt 0.4.4 is missing #86

safjanowski opened this issue Apr 16, 2014 · 0 comments

Comments

@safjanowski
Copy link

I would like to append all cached templates to e.g dist/scripts/vendor.js

concat: {
  app: {
    src: ['**.js', '<%= ngtemplates.app.dest %>'],
    dest: ['<%= yeoman.dist %>/scripts/vendor.js']
  }
},

ngtemplates: {
  app: {
    src: 'app/views/**/*.html',
    dest: 'vendor.js'
  }
 },

Just append not override - as I want to decrease the number of HTTP request, what is the proper configuration to do that?

Some verbose output from grunt build

Running "concat:app" (concat) task
Verifying property concat.app exists in config...OK
Files: Gruntfile.js, karma-e2e.conf.js, karma.conf.js -> dist/scripts/vendor.js
Options: separator="\n", banner="", footer="", stripBanners=false, process=false
Reading Gruntfile.js...OK
Reading karma-e2e.conf.js...OK
Reading karma.conf.js...OK
Writing dist/scripts/vendor.js...ERROR
Warning: Unable to write "dist/scripts/vendor.js" file (Error code: undefined). Use --force to continue.

Tools and versions

grunt-cli v0.1.13
grunt v0.4.4
ngtemplates v0.5.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant