Babel preset for Riot.js that enables ES2015 (ES6) features, including modules, in Riot tags. Latest version 1.1.0 is stable, no longer maintained. It wraps the standard babel-preset-es2015. Designed specifically for Riot.js development. Alternatives: use @babel/preset-env instead.
npm install babel-preset-es2015-riotVerified import paths — ran on the pinned version, not inferred.
Configuration for using this preset with Babel via .babelrc or webpack babel-loader.
Replace with @babel/preset-env and set targets as needed.
Use @babel/preset-env which compiles based on target environments.
Add 'plugins': ['external-helpers-2'] to your .babelrc.
Run 'npm install babel-preset-es2015-riot --save-dev'.
Use the legacy Babel 6 or switch to @babel/preset-env for Babel 7.