Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wildcard includes

Tags:

gruntjs

yeoman

Is it possible to use wildcards for imports?

For example:

<!-- build:js scripts/scripts.js -->
<script src="scripts/models/*"></script>
<script src="scripts/controllers/*"></script>
<script src="scripts/init.js"></script>
<!-- endbuild -->

Or is there another best practice?

like image 719
kraftwer1 Avatar asked Feb 05 '26 03:02

kraftwer1


1 Answers

Not currently, but we're looking into adding it.

like image 56
Sindre Sorhus Avatar answered Feb 07 '26 17:02

Sindre Sorhus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!