Use webpack to generate a ES Module bundle
Printing RequireJS Module dependency tree when something goes wrong.
jQuery has a great API for working with DOM events - both native and custom. The great thing about its system is that you can also use it on regular objects, thus allowing you to quickly create private event systems for your application that don't rely on DOM elements. In this post, I will show … Continue reading Creating a Private Event Bus with jQuery
SPWidgets v2.5.2 released with bug fixes and setup for adding Unit Test Cases.
SPWidgets - purtuga.github.io/SPWidgets - is a project I started back in 2012 when I started to take advantage of the SharePoint platform to build custom web solutions for the teams I worked with. It initially served as a place to gather reusable User Interface (UI) components that could be quickly applied to multiple projects - … Continue reading SharePoint SPWidgets Converted to AMD Modules
In using Grunt on a large project, I wanted to speed up the build time by only copying files to the staging area that have changed. Unless I missed something, the Grunt Copy plugin always copies all files, regardless if they were changed or not. It does provide hooks that we can use in determining … Continue reading Grunt – How to Copy Only New Files