-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
All my Lambda are written in ES6 and I use serverless-webpack to build them and be able to run them on AWS Lambda.
Your plugin doesn't seems to be compatible with it.
When the step function start I got an error which means the js isn't compiled before being executed:
Serverless: Building StepWorkFlow
OOPS /home/projectsrc/schedule-content/index.js:1
(function (exports, require, module, __filename, __dirname) { import { ScheduleContent } from './scheduleContent'
^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:74:10)