I want to add many .js and .css files , can I write then like this ?
location="sample/*.js"
<web-resource key="my-sources" name="sources-demo">
<resource type="download" name="sample.css" location="sample/sample.css" />
<resource type="download" name="self.js" location="sample/self.js" />
<resource type="download" location="sample/*.js" />
</web-resource>
hi @caiyunCheng I think you can't do it. But you can setup your build process to minimize and combine all your JS resources to one file. I am not JS expert and I never set it up, but try to check this article https://medium.com/programming-sharing/minifying-and-combining-js-and-css-files-with-maven-b8a661bf6bf8.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.