Use grunt.config.merge

Posted by: More Whidbey stuff, on 24 Nov 2014 | View original | Bookmarked: 0 time(s)

Most code samples that youll find, both on the Grunt web site, and on the readme.md for Grunt plug-ins, will tell you to set the configuration using the grunt.initConfig method:grunt.initConfig({ uglify: { options: { banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n' }, build: { src: 'src/<%= pkg.name %>.js', dest: 'build/<%= pkg.name %>.min.js' } } });The problem with that method is that as you add...

Category: Refactor | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 550 | Hits: 10

Similar Posts

  • Introducing SharePoint 2010 Training at U2U more
  • New Entity Framework Feature CTP for VS2010 Beta 2 more
  • Introducing Versatile DataSources more
  • Issue 50 - DotNetNuke 5 Admin Modules Access, Reset Logins, iPhone OWS more
  • How to Limit Access to Administrator Modules in DotNetNuke 5 - 5 Videos more
  • Visual Studio Extensions for RadControls for Silverlight Coming with Q3 2009 Release more
  • Idle Timeouts in RIA Services Authentication more
  • Adding IIS Manager Users and Permissions using PowerShell more
  • Migrating to Postgresql with my friend NHibernate more
  • Using SqlBulkCopy To Perform Efficient Bulk SQL Operations more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD