Base solution for your next web application
Open Closed

dist/assets/metronic - is it needed? #4935


User avatar
0
BobIngham created

When I do a build with

ng build -prod

I end up with a very large metronic folder in the assets folder including all of the source for all the demos.

Is there any way I can remove these folder from the build process?

What are they there for?


2 Answer(s)
  • User Avatar
    0
    OutdoorEd created

    Metronic is the underlying ASPNETZERO theme using CSS & JS. It's built by a separate company, <a class="postlink" href="http://www.keenthemes.com">www.keenthemes.com</a> and licensed to ASPNETZERO. Because the Metronic theme features are huge (as you can see if you look at their demos) there are lots of things that aren't necessarily used in ASPNETZERO.

    Some of the modal dialogs and edit boxes in the backend are coming from Metronic. It would be really helpful if ASPNETZERO would give us a whitelist of the specific JS libraries that are required and then users could remove unnecessary components. It's probably too hard to identify the CSS to be removed.

  • User Avatar
    0
    alper created
    Support Team

    did you try @alexanderpilhar steps #4596