microsoft / azure-devops-extension-sample

Sample web extension for Azure DevOps
MIT License
240 stars 159 forks source link

NPM script cleanup; remove extranous webpack.*.js files #2

Closed willsmythe closed 5 years ago

willsmythe commented 5 years ago
  1. Updated NPM scripts commands:

    • build (runs webpack in "production" node and packages the extension with a rev'ed version). Note: the follows webpack's lead ("production" is the default mode if not specified)
    • build:dev (same as build, except runs webpack in "development" mode)
    • package-extension (assumes build has already been run and just packages the extension)
    • publish-extension (assumes build has already been run and publishes the extension)
  2. Added Azure Pipelines YAML configs

  3. Dropped overview.md (replaced with README.md)

  4. Replace "cpx" with a webpack plugin (this simplifies the NPM script, avoids pulling in the cpx module which has a lot of dependencies)

  5. Dropped the basically empty "prod" and "dev" webpack config .js files and just call webpack with --mode development (or --mode production)