|
You are here |
babeljs.io | ||
| | | | |
www.integralist.co.uk
|
|
| | | | | Introduction This post will explain how to set-up and configure the various tooling necessary in order to be able to write cross-compatible modern (ES2015+) JavaScript code. Note: if you're unsure of what 'modern' JavaScript looks like, then I'll refer you to these compatibility tables. The tools we'll be using: Babel: transpiler of modern JS into ES5 compatible code. Webpack: a js module bundler. Note: webpack is actually capable of transforming, bundling, packaging just about anything (as we'll see sho... | |
| | | | |
adropincalm.com
|
|
| | | | | Babel is a JavaScript compiler mainly known for React and the ability to use js syntax not yet shipped to the browser. In this introduction we'll try to cover some of the core ideas such as @babel/core, @babel/cli, plugins, presets and the config file. The main idea In the js world, we like to use new and exotic syntaxes even if the browser doesn't provide support and never will. Before ie11 deprecation, a classic example was using the arrow function syntax. | |
| | | | |
kaidez.com
|
|
| | | | | Use JavaScript functional programming to set click-to-link functionality on a set of elements. Code sample has a basic webpack/Babel setup. | |
| | | | |
maissan.net
|
|
| | | Gulp is a great tool for automating your development workflow. It can also be a great tool for updating your Drupal site. The multiple steps of logging in, enabling maintenance mode, uploading files and running update.php can be replaced with a single "gulp deploy" command. | ||