forked from visgl/deck.gl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating webpack2 example readme (visgl#572)
- Loading branch information
Showing
1 changed file
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
* [hello-world-webpack2](./hello-world-webpack.md): Bundles a minimal app with | ||
[webpack 2](https://github.com/webpack/webpack) and serves it with webpack-dev-server. | ||
<div align="center"> | ||
<img width="150" heigth="150" src="https://webpack.js.org/assets/icon-square-big.svg" /> | ||
</div> | ||
|
||
## Hello World: Webpack2 | ||
|
||
Uses [Webpack](https://github.com/webpack/webpack) to bundle files and serves it | ||
with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev-server). | ||
|
||
Commands: | ||
* `npm start` is the development target, and will serves the app on port 3000. | ||
* `npm run build` is the production target, to create the final bundle. | ||
|
||
Remarks: | ||
* In a real application you would likely want to add things like hot reloading for development | ||
and a minification step etc to the production build step etc. | ||
* These steps have been omitted here in order to keep the example as simple as possible. |