Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Minifying mdb.pro.js

twentyfour pro asked 3 years ago


I have a little question about using and minifying mdb.pro.js: I have the latest big bundle version that was on sale lately.

My question is: in the folder js, so not src, is a file mdb.min.js. Where is the source of this file? When I try to use and minify mdb.pro.js, which is full of imports I don’t understand yet, it gives a minify error about imports.

So how can I add javascript code to the minified mdb.min.js file? I searched for a tutorial but didn’t find any.

thanks all, stay safe,

Michael


Dawid Wajszczuk staff commented 3 years ago

Hi. What would you like to add to mdb.min.js? Because changing anything there may cause breakage. The easiest solution for me would be to simply import mdb.pro.js instead of mdb.min.js. Or using separate js file. But I'm not fully aware of your use case.


twentyfour pro commented 3 years ago

I just wanted to create one big minimised js-file. But hearing you talk about breaking stuff, I will use a separate js-file. Thanks for this info!



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: Desktop
  • Browser: Firefox Developer Edition
  • OS: macOS
  • Provided sample code: No
  • Provided link: No