serverless / serverless-azure-functions

Serverless Azure Functions Plugin – Add Azure Functions support to the Serverless Framework
MIT License
267 stars 162 forks source link

SLS offline doesn't run webpack for ES6 support #413

Open hkremer opened 4 years ago

hkremer commented 4 years ago

This is a Bug Report

Description

Similar or dependent issues:

Additional Data

s-stefanov commented 4 years ago

392

zsolt-halo commented 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