zont / gulp-usemin

MIT License
338 stars 92 forks source link

how to add a script #183

Closed JoveYu closed 7 years ago

JoveYu commented 8 years ago

as what README say,

we can use remove to delete a script, so how to add a script or replace a script?

GuyMograbi commented 7 years ago

What do you mean?

Writing something like

<!-- build:js lib1.js -->
<script src="some_file.js"></script>
<!-- endbuild --> 

Will replace some_file.js with lib1.js

Does this answer your question or did you mean another scenario?