grunt-dev-prod-switch | previously defined comment blocks in project files | DevOps library
kandi X-RAY | grunt-dev-prod-switch Summary
kandi X-RAY | grunt-dev-prod-switch Summary
In your project's Gruntfile, add a section named dev_prod_switch to the data object passed into grunt.initConfig().
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of grunt-dev-prod-switch
grunt-dev-prod-switch Key Features
grunt-dev-prod-switch Examples and Code Snippets
Community Discussions
Trending Discussions on grunt-dev-prod-switch
QUESTION
I am trying to use the following grunt plugin to enable me to use includes linking to compressed files for my production build, and uncompressed for my dev build.
https://www.npmjs.com/package/grunt-dev-prod-switch
Below is a very abbreviated version of my Gruntfile: ... grunt.loadNpmTasks('grunt-dev-prod-switch');
...ANSWER
Answered 2017-Jan-17 at 09:08As per the examples found in the docs...
Change the options
object as follows:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install grunt-dev-prod-switch
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page