Skip to content

angular/angular-devkit-build-webpack-builds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Repository files navigation

Snapshot build of @angular-devkit/build-webpack

This repository is a snapshot of a commit on the original repository. The original code used to generate this is located athttp://github /angular/angular-cli.

We do not accept PRs or Issues opened on this repository. You should not use this over a tested and released version of this package.

To test this snapshot in your own project, use

npm install git+https://github /angular/angular-devkit-build-webpack-builds.git

Webpack Builder for Architect

This package allows you to run Webpack and Webpack Dev Server using Architect.

To use it on your Angular CLI app, follow these steps:

  • runnpm install @angular-devkit/build-webpack.
  • create a webpack configuration.
  • add the following targets insideangular.json.
"projects": {
"app": {
//...
"architect": {
//...
"build-webpack": {
"builder": "@angular-devkit/build-webpack:webpack",
"options": {
"webpackConfig": "webpack.config.js"
}
},
"serve-webpack": {
"builder": "@angular-devkit/build-webpack:webpack-dev-server",
"options": {
"webpackConfig": "webpack.config.js"
}
}
}
  • runng run app:build-webpackto build, andng run app:serve-webpackto serve.

All options, includingwatchandstats,are looked up inside the webpack configuration.

About

Build artifacts for @angular-devkit/build-webpack

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published