Skip to content

feat(wp): Webpack build for sls [prototype] #1046

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

Open
3 tasks
NamelsKing opened this issue Mar 22, 2022 · 0 comments
Open
3 tasks

feat(wp): Webpack build for sls [prototype] #1046

NamelsKing opened this issue Mar 22, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@NamelsKing
Copy link
Contributor

NamelsKing commented Mar 22, 2022

Background

Aws lambdas are limited with 50 mb of gzim and 200 mb of unpacked size. We are nearly close to this numbers.
Webpack is one of the solutions, as it's allow us to to avoid node_modules coping, and packing only libs that needed by app.
Here is the proto #1043

unsolved problems:

  • Build lasts 2-3 min even for development, coz we recompile all node_modules
  • Exclude node_modules from sls package, we dont need them anymore
  • a lot of warnings, that should be fixed, some of them not minor
@NamelsKing NamelsKing added the enhancement New feature or request label Mar 22, 2022
@NamelsKing NamelsKing changed the title feat(wp): Webpack build for sls prototype feat(wp): Webpack build for sls [prototype] Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants