-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running webpack for local testing #6
Comments
@goldytech It does transpile on local. We cover this in the tutorial. In this chapter for example - https://serverless-stack.com/chapters/add-a-get-note-api.html. When we run the |
I've pushed my code on Github https://github.com/goldytech/aws-serverless I get this error
|
@goldytech I tried your repo. YAML is really strict, this line https://github.com/goldytech/aws-serverless/blob/master/serverless.yml#L21 should be |
Hi,
I have created a local js file with its dependency getting import in the handler.js as below
import JsonValidator from './src/jsonvalidator'
Now when i run this on local for testing purpose using mock event json. I'm getting error import undrfined error
This is because i assume the code is not getting transpiled in local and only when it gets deployed.
So how do i transpile my code for local debugging and testing ?
The text was updated successfully, but these errors were encountered: