Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @atlauncher/babel-preset-atlauncher with all npm packages installed. Try it out:

var babelPresetAtlauncher = require("@atlauncher/babel-preset-atlauncher")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@atlauncher/babel-preset-atlauncher v0.2.1

ATLauncher's babel preset.


This is the babel preset to use for all JavaScript based projects using Babel at ATLauncher.


To install simply run:

npm install --save-dev @atlauncher/babel-preset-atlauncher

And then create (or replace) a .babelrc file in the root directory of your project with the following contents:

  "presets": ["@atlauncher/babel-preset-atlauncher"]


An important step towards building is to provide a FINAL_ENVIRONMENT environment variable when running babel to build.

Setting this to a value of node or simply leaving it out, will build for a NodeJS environment.

Setting it to browser will ensure that it's built with our browserlist in mind.

You should also always make sure to pass through the NODE_ENV environment variable for the appropriate environment that you're building in, so that correct optimisations are made.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free