Open austinpray opened 10 years ago
Is there a build:remove type functionality on the radar? There are some scripts (mock API using angularMock and such) that only belong in a development environment.
build:remove
<html> <head> <!-- build:css css/combined.css --> <link href="css/one.css" rel="stylesheet"> <link href="css/two.css" rel="stylesheet"> <!-- endbuild --> </head> <body> <!-- build:remove --> <script type="text/javascript" src="scripts/somedevelopmentonlyscript.js"></script> <script type="text/javascript" src="scripts/mockapi.js"></script> <!-- endbuild --> <!-- build:js scripts/combined.js --> <script type="text/javascript" src="scripts/one.js"></script> <script type="text/javascript" src="scripts/two.js"></script> <!-- endbuild --> </body> </html>
references https://github.com/jonkemp/gulp-useref/issues/9
Is there a
build:remove
type functionality on the radar? There are some scripts (mock API using angularMock and such) that only belong in a development environment.Example:
references https://github.com/jonkemp/gulp-useref/issues/9