docs: Remove outdated Webpack guide and example (#24478)

A supporting Webpack guide will be introduced as part of the guidance
for ejecting from the Angular CLI.

Closes #23937

PR Close #24478
This commit is contained in:
Brandon Roberts
2018-06-13 10:05:24 -05:00
committed by Miško Hevery
parent aa66e84e44
commit 74f07f40e0
35 changed files with 25 additions and 2031 deletions

View File

@ -25,7 +25,7 @@ The zipper will use this information for creating new zips.
## Three kinds of examples
The majority of examples in AIO use `System.js` but there are also `CLI` and `Webpack` projects. This
The majority of examples in AIO use `CLI`, with some additionally using `Webpack` and upgrade usiing `SystemJS`. This
tool is able to differentiate between them.
The boilerplate uses a `package.json` that contains packages and scripts to run any kind of example.
@ -44,7 +44,6 @@ Here you find a:
* **base.json** - All the common scripts and packages
* **cli.json** - Extra scripts and packages for the CLI
* **webpack.json** - Extra scripts and packages for Webpack
* **universal.json** - Extra scripts and packages for universal
* **i18n.json** - Extra scripts and packages for i18n
* **systemjs.json** - All the System.js related packages but it also contains the remainder scripts
@ -68,11 +67,11 @@ In both `stackblitz.json` and `zipper.json` you can use two extra properties for
{
...
"removeSystemJsConfig": true,
"type": "webpack"
"type": "testing"
}
```
This would generate a zip for a webpack application and it will also remove everything related with
This would generate a zip for a testing application and it will also remove everything related with
SystemJS.
## Executing the zip generation

View File

@ -1,26 +0,0 @@
{
"scripts": [
{ "name": "start:webpack", "rename": "start" },
{ "name": "test:webpack", "rename": "test" },
{ "name": "build:webpack", "rename": "build" }
],
"dependencies": [],
"devDependencies": [
"angular2-template-loader",
"awesome-typescript-loader",
"css-loader",
"extract-text-webpack-plugin",
"file-loader",
"html-loader",
"html-webpack-plugin",
"karma-sourcemap-loader",
"karma-webpack",
"null-loader",
"raw-loader",
"rimraf",
"style-loader",
"webpack",
"webpack-dev-server",
"webpack-merge"
]
}

View File

@ -113,7 +113,6 @@ class ExampleZipper {
'!**/package.json',
'!**/example-config.json',
'!**/wallaby.js',
'!**/package.webpack.json',
// AoT related files
'!**/aot/**/*.*',
'!**/*-aot.*'