aws / aws/aws-toolkit-vscode

build: configure webpack to handle UMD emits

Open
#2,142 0 comments 0 reactions 0 assignees View on GitHub
build
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

> The vscode-json-languageservice module includes ESM and UMD emits, but sets the UMD output as the main one. Our webpack config needs extra configuration to ignore UMD distributions to avoid issues like this

- reference:
- https://dev.to/iggredible/what-the-heck-are-cjs-amd-umd-and-esm-ikm
- https://weblogs.asp.net/dixin/understanding-all-javascript-module-formats-and-tools
- #2141

Contributor guide

Open the contributing guide

Research direction

Start by locating the webpack configuration and reviewing issue #2141 alongside the linked module-format references. Confirm the current build problem, then verify that UMD distributions are ignored and the webpack build completes without the reported issues.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, webpack
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.