Skip to content
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

Add support for extensionAlias #358

Open
PSoltes opened this issue Apr 20, 2023 · 0 comments
Open

Add support for extensionAlias #358

PSoltes opened this issue Apr 20, 2023 · 0 comments

Comments

@PSoltes
Copy link

PSoltes commented Apr 20, 2023

Add support to add extensionAlias config in serverless yml file. It allows for using nodenext module resolution with webpack. Should be quite straight forward fix (just passing array of objects to webpack config from serverless yml)
https://webpack.js.org/configuration/resolve/#resolveextensionalias

extensionAlias:
  js:
    - js
    - ts
  jsx:
    - jsx
    - tsx

and then just plop this straight up to src/webpack.config.js:441 if it exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant