@ -1,3 +1,7 @@
if (!global._babelPolyfill) {
require('babel-polyfill');
}
export const hello = (event, context, cb) => {
const p = new Promise((resolve, reject) => {
resolve('success');
@ -1,8 +1,5 @@
module.exports = {
entry: [
'babel-polyfill',
'./handler.js'
],
entry: './handler.js',
target: 'node',
module: {
loaders: [{