webpack – How To Generate an ES Module bundle

Use webpack to generate a ES Module bundle

Advertisements

Webpack – How to Transpile and Minimize JavaScript Code and Import as Plain Text

This will be a quick one. Over the weekend, while working on feature for an app, I had the need to import a JavaScript file as a raw text string but also ensure that its content was ES5 compliant and minified. The feature I was working (for SharePoint MyBoard) was around being able to provide the … Continue reading Webpack – How to Transpile and Minimize JavaScript Code and Import as Plain Text

How to render a SharePoint page in IE using EDGE mode without changing the master page

So you are running the latest version of Internet Explorer and you're thinking: I should get good performance and better User Experience when accessing a SharePoint site. After all, Microsoft® has done allot of work to bring that browser closer to being standards compliant. Wrong! SharePoint's User Interface (UI) is a creature of habit. It's … Continue reading How to render a SharePoint page in IE using EDGE mode without changing the master page

Grunt – How to Copy Only New Files

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