Open hkremer opened 4 years ago
So, this is what I use for local dev + ts:
#!/bin/bash
sls package
cp local.settings.json .serverless/local.settings.json
pushd .serverless
unzip *.zip
func start
popd
dirty, but it does what it is supposed to do using: https://www.npmjs.com/package/azure-functions-core-tools
This is a Bug Report
Description
What went wrong? functions written in ES6 don't work using sls offline
What did you expect should have happened? sls deploy does transpile code perfectly, however sls offline gives us Javascript errors about not supported ES6 code
What was the config you used? The latest version 1.0.2
What stacktrace or error message from your provider did you see? SyntaxError: Unexpected token import
Similar or dependent issues:
12345
Additional Data