JavaScript import order


Topic: JavaScript import order

xennsoft pro asked 7 years ago

I am using 4.5 Pro.  I am using a bundle tool to assemble and minify my JavaScript. I was able to do this with 4.4 because there was an import order.  However, when I try to use that order to load all the modules it throws a compile error saying it cannot locate an identifier for module.exports.  I am guessing I am missing an import: "Scripts/mdb/modules/vendor/jquery-easing.js", "Scripts/mdb/modules/vendor/velocity.min.js", "Scripts/mdb/modules/vendor/chart.js", "Scripts/mdb/modules/vendor/wow.js", "Scripts/mdb/modules/vendor/scrolling-navbar.js", "Scripts/mdb/modules/vendor/waves.js", "Scripts/mdb/modules/src/forms-free.js", "Scripts/mdb/modules/src/preloading.js", "Scripts/mdb/modules/src/cards.js", "Scripts/mdb/modules/src/character-counter.js", "Scripts/mdb/modules/vendor/toastr.js", "Scripts/mdb/modules/src/smooth-scroll.js", "Scripts/mdb/modules/src/dropdown.js", "Scripts/mdb/modules/src/buttons.js", "Scripts/mdb/modules/vendor/hammer.js", "Scripts/mdb/modules/vendor/jquery.hammer.js", "Scripts/mdb/modules/src/sidenav.js", "Scripts/mdb/modules/src/collapsible.js", "Scripts/mdb/modules/vendor/jquery.easypiechart.js", "Scripts/mdb/modules/src/range-input.js", "Scripts/mdb/modules/src/file-input.js", "Scripts/mdb/modules/src/material-select.js", "Scripts/mdb/modules/vendor/picker.js", "Scripts/mdb/modules/vendor/picker-date.js", "Scripts/mdb/modules/vendor/picker-time.js", "Scripts/mdb/modules/vendor/lightbox.js", "Scripts/mdb/modules/vendor/jquery.sticky.js", "Scripts/mdb/modules/vendor/scrollbar.js", "Scripts/mdb/modules/src/chips.js", "Scripts/mdb/modules/vendor/jarallax.js", "Scripts/mdb/modules/vendor/jarallax-video.js", "Scripts/mdb/modules/src/mdb-autocomplete.js"   This is the list I have.  

Bartłomiej Malanowski staff pro premium commented 7 years ago

Do you use MDB Pro or any of our templates pack?

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No