Coder Social home page Coder Social logo

preset-env-modules's Introduction

Demonstrate @babel/preset-env with ESModules targetting

With the release of Babel 7 one can now specifically target devices supporting ESModules.

This can greatly reduce the amount of JavaScript sent to modern devices with minimal effort.

This example shows how one can apply the technique.

Installation

  1. Clone this repo.
  2. yarn to install dependencies.
  3. yarn start to startup a localhost:3000 server with a sample page.

Good luck, and let's send users less JavaScript!

preset-env-modules's People

Contributors

kristoferbaxter avatar renovate[bot] avatar andarist avatar mathiasbynens avatar

Stargazers

ohze.net avatar Giuseppe avatar Colin Howells avatar Victor Magalhães avatar GAURAV avatar Michael Leonard avatar ciju cherian avatar Fangzhou Li avatar Greg Skiano avatar Nathanael Beisiegel avatar Kye Hohenberger avatar Samar Panda avatar Nick Chan avatar David Cizek avatar Ryan Mahoney avatar Ben Zörb avatar Andrejs Agejevs avatar React avatar Alexey avatar chencheng (云谦) avatar Martynas Kadiša avatar Jannick Garthen avatar 悔惜晟 avatar Mike avatar Juri Hahn avatar martin katrenik avatar Henrik Jørgensen avatar Tal Williams avatar Mehdi Kabab avatar Jacob Dreesen avatar Jan-Philipp Kempf avatar Steve Miller avatar Daniel Poindexter avatar Lennard van Gunst avatar Gudjon avatar Ram Damera avatar harapan avatar Pascal Duez avatar Eric Clemmons avatar Nicola Zanon avatar Denis Denisov avatar Maciej Adamczak avatar Orkhan ALIYEV avatar Toan Tran avatar Jason Miller avatar hrmny avatar Luke Edwards avatar Marvin Hagemeister avatar Ben Wiley avatar Jorn Luiten avatar Klemen Slavič avatar Jon Koops avatar Alex Nozdriukhin avatar Timm Stokke avatar Chris Shepherd avatar Igor Goldny avatar Thomas Digby avatar Conor Cussell avatar Brandon Pierce avatar Charles Nelson avatar Chris Biscardi avatar Amal Karunarathna avatar Gregg B avatar Anup avatar

Watchers

React avatar James Cloos avatar  avatar

preset-env-modules's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • polka 0.4.0
  • @babel/cli 7.5.0
  • @babel/core 7.5.4
  • @babel/preset-env 7.5.4
  • babel-plugin-inline-replace-variables 1.3.1
  • esm 3.1.0
  • rimraf 3.0.0
  • yarn >=1.7.0
  • node >=8.10.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.