nick's blog
  • Home
  • About
Subscribe
Tagged

es2017

A collection of 2 posts

uglify

Transforming Async, Await JS and minifying using Uglify

Async and Await makes asynchronous code so much cleaner and nicer to work with. It is widely supported by all the latest versions of modern browsers, including Node v7.6+. See can i use for browser support and node.green for node support. So let's try and minify it! Oh.

Nick Aug 14, 2017 • 4 min read
babel

Reduce your JS payload when using polyfills in Babel

Are you importing the babel polyfill like... import 'babel-polyfill'; But only need the odd function like Object.values from ES2017? Then maybe you can reduce the size of your JS bundle by installing those specific polyfills. Importing the whole of babel-polyfill could be adding a lot of unnecessary code to

Nick Sep 28, 2016 • 1 min read
nick's blog © 2022
Powered by Ghost