Skip to content

Instantly share code, notes, and snippets.

@Hypercubed
Last active March 22, 2016 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hypercubed/e9ca6a4ec4fe6c3bee98 to your computer and use it in GitHub Desktop.
Save Hypercubed/e9ca6a4ec4fe6c3bee98 to your computer and use it in GitHub Desktop.
{
"presets": [ "es2015-rollup" ]
}
export const test = {
// await: 123, // works!
// [`await`]: a => 2 * a, // works!
await: a => 2 * a, // Error parsing [path]/utils.js: The keyword 'await' is reserved (8:18) in [path]/utils.js
add: (n, m) => n + m
}
import babel from 'rollup-plugin-babel';
export default {
entry: 'index.js',
sourceMap: true,
plugins: [babel()]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment