-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Not compatible with serverless-webpack #19
Comments
If you are using typescript you want to use the This should resolve the file |
Hey, getting the same problem here with Typescript, tried this workaround but srcPath does not seem to solve the problem as I feel the individual packing for lambda functions causes troubles:
using serverless framework template 'aws-nodejs-typescript'
Webpack config
Output:
Error: File "src/functions/user/save-user-profile-at-signup.js" not found. .webpack/src/functions/user/save-user-profile-at-signup.js missing |
I am using this plugin for a while now to set env variables.
recently i added the serverless-webpack to reduce my bundle size
i am using typescrypt so my webpack.config looks like this:
/* eslint-disable @typescript-eslint/no-var-requires */
const path = require('path');
const slsw = require('serverless-webpack');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const isLocal = slsw.lib.webpack.isLocal;
i am getting this error from the manifest plugin:
The text was updated successfully, but these errors were encountered: