IBM-Cloud / ibm-developer-extension-vscode

Extension for VS Code editor to enable IBM Cloud CLI capabilities from within the editing environment.
https://marketplace.visualstudio.com/items?itemName=IBM.ibm-developer
Apache License 2.0
13 stars 10 forks source link

build: Fix updated webpack-cli complaining about require module #52

Closed Aerex closed 2 years ago

Aerex commented 2 years ago

Context

There have been recent breaking changes to webpack that is leading compilation to fail on publishing. The issue as not detected in test since this is a new update to the webpack module.

To prevent these issues from happening again I added npm run build to catch webpack errors in travis.

Related link: https://github.com/nodejs/readable-stream/issues/448

Steps to Test

  1. Run npm run build
  2. Verify build is successful