microsoft / vscode-test-web

Node module to help testing VS Code web extensions.
MIT License
56 stars 21 forks source link

Update ESM detection for running fom source and CSS module creation #136

Closed aeschli closed 2 weeks ago

aeschli commented 2 weeks ago

This pull request includes changes to improve the detection of ESM(ECMAScript Modules) and the creation of CSS modules. The detect ESM with sources commit updates the ESM detection logic to check if the package.json file has a type field set to module. The only create css modules when needed commit modifies the code to create CSS modules only when necessary, reducing unnecessary requests.