Closed alexeybondarenko closed 8 years ago
Source:
<!DOCTYPE html> <html> <bod> <div> </div><!-- build:js js/app.min.js --> <script src="js/config.js"></script> <script src="js/app.js"></script><!-- endbuild --> </body> </html>
Result:
<!DOCTYPE html> <html> <bod> <div> <script src="js/app.min.js"></script> </body> </html>
app.min.js contains only content from file config.js, because script tag with app.js is deleted with endbuild comment block.
app.min.js
config.js
app.js
Put the endbuild comment on a new line.
endbuild
Source:
Result:
app.min.js
contains only content from fileconfig.js
, because script tag withapp.js
is deleted with endbuild comment block.