Skip to content

Quernest/webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

webpack

simple webpack configuration for building web pages

You could use it as a base to build your own web app.

Features

  • Webpack 4.x
  • ES6+ syntax support with babel 7.x
  • Support HMR
  • Auto Open a new browser tab when Webpack loads, and reload the page when you modified the code

Usage

  1. Check if your Node.js version is >= 6.
  2. Clone the repo
$ git clone https://github.com/Quernest/webpack.git <yourAppName>
$ cd <yourAppName>
  1. Delete the old .git history and initialize new history.
$ rm -rf .git
$ git init
  1. install the dependencies
$ yarn install
  1. launch the app
$ yarn start

Now you should see a new browser window/tab opening and a title in http://localhost:3000.

Last, You need update package.json and modify fields like name, version, description, keywords, author, license and so on to fit your project.

From there, you start to develop your own code in the src directory. When you finish coding, use yarn run build to build the static files.

Author

License

MIT

About

๐Ÿ’Ž simple webpack configuration for building web pages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published