https://github.com/peti2001/webpack_test
I used this shot code to test webpack
https://github.com/peti2001/webpack_test
webpack
Last synced: about 2 months ago
JSON representation
I used this shot code to test webpack
- Host: GitHub
- URL: https://github.com/peti2001/webpack_test
- Owner: peti2001
- Created: 2016-09-23T21:06:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-23T21:31:52.000Z (almost 10 years ago)
- Last Synced: 2025-01-13T02:41:34.598Z (over 1 year ago)
- Topics: webpack
- Language: JavaScript
- Size: 85.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webpack Test
I used this small code to try webpack.
## How to try it?
You have to have a working docker and docker-compose on your computer.
1. Clone the repository
```$ git clone git@github.com:peti2001/webpack_test.git```
2. Go the de deploy directory
```$ cd webpack_test/deploy```
3. Build the docker image
```$ docker-compose build```
4. Start the container
```$ docker-compose up```
It will install all the necessary node.js packages, start Apache2 and start webpack in watch mode. So if you change anything in the `www/src` folder it will regenerate all the files automatically.
5. Check it in the browser
Open [http://localhost:5000](http://localhost:5000) in your browser.