合并后微调
This commit is contained in:
parent
44433258bb
commit
011606fa1f
|
@ -360,8 +360,6 @@ code-example(language="sh" class="code-shell").
|
||||||
|
|
||||||
这些文件很多都很眼熟,它们在其他文档里已经出现过,特别是[_TypeScript配置_](../guide/typescript-configuration.html)和[_npm包_](../guide/npm-packages.html)这两章里。
|
这些文件很多都很眼熟,它们在其他文档里已经出现过,特别是[_TypeScript配置_](../guide/typescript-configuration.html)和[_npm包_](../guide/npm-packages.html)这两章里。
|
||||||
|
|
||||||
这些文件很多都很眼熟,它们在其他文档里已经出现过,特别是[_TypeScript配置_](../guide/typescript-configuration.html)和[_npm包_](../guide/npm-packages.html)这两章里。
|
|
||||||
|
|
||||||
Webpack, the plugins, and the loaders are also installed as packages.
|
Webpack, the plugins, and the loaders are also installed as packages.
|
||||||
They are listed in the updated `packages.json`.
|
They are listed in the updated `packages.json`.
|
||||||
|
|
||||||
|
@ -385,8 +383,6 @@ a#polyfills
|
||||||
|
|
||||||
我们在[_浏览器支持_](browser-support.html)章节里解释过,Angular应用要能在大多数的浏览器里运行,它还需要一些polyfills。
|
我们在[_浏览器支持_](browser-support.html)章节里解释过,Angular应用要能在大多数的浏览器里运行,它还需要一些polyfills。
|
||||||
|
|
||||||
我们在[_浏览器支持_](browser-support.html)章节里解释过,Angular应用要能在大多数的浏览器里运行,它还需要一些polyfills。
|
|
||||||
|
|
||||||
Polyfills should be bundled separately from the application and vendor bundles.
|
Polyfills should be bundled separately from the application and vendor bundles.
|
||||||
Add a `polyfills.ts` like this one to the `src/` folder.
|
Add a `polyfills.ts` like this one to the `src/` folder.
|
||||||
|
|
||||||
|
@ -423,8 +419,6 @@ a(id="common-configuration")
|
||||||
|
|
||||||
我们可以把这些通用的配置收归到一个文件,命名为`webpack.common.js`。
|
我们可以把这些通用的配置收归到一个文件,命名为`webpack.common.js`。
|
||||||
|
|
||||||
我们可以把这些通用的配置收归到一个文件,命名为`webpack.common.js`。
|
|
||||||
|
|
||||||
+makeExample('webpack/ts/config/webpack.common.js', null, 'config/webpack.common.js')(format=".")
|
+makeExample('webpack/ts/config/webpack.common.js', null, 'config/webpack.common.js')(format=".")
|
||||||
|
|
||||||
a#inside-webpack-commonjs
|
a#inside-webpack-commonjs
|
||||||
|
@ -437,8 +431,6 @@ a#inside-webpack-commonjs
|
||||||
|
|
||||||
Webpack是基于NodeJS的一个工具,它能够从一个*commonjs*规范的JavaScript模块文件里读取配置。
|
Webpack是基于NodeJS的一个工具,它能够从一个*commonjs*规范的JavaScript模块文件里读取配置。
|
||||||
|
|
||||||
Webpack是基于NodeJS的一个工具,它能够从一个*commonjs*规范的JavaScript模块文件里读取配置。
|
|
||||||
|
|
||||||
The configuration imports dependencies with `require` statements
|
The configuration imports dependencies with `require` statements
|
||||||
and exports several objects as properties of a `module.exports` object.
|
and exports several objects as properties of a `module.exports` object.
|
||||||
|
|
||||||
|
@ -460,8 +452,6 @@ a#inside-webpack-commonjs
|
||||||
|
|
||||||
[`plugins`](#common-plugins) - 创建插件的实例。
|
[`plugins`](#common-plugins) - 创建插件的实例。
|
||||||
|
|
||||||
[`plugins`](#common-plugins) - 创建插件的实例。
|
|
||||||
|
|
||||||
a#common-entries
|
a#common-entries
|
||||||
:marked
|
:marked
|
||||||
#### _entry_
|
#### _entry_
|
||||||
|
|
Loading…
Reference in New Issue