Start a local server, all neccesary files to create any project and build quality code to production, compatibility browsers, styles loaders, development and production mode, minifiy using #hashes, cache and more.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy on a live system and clone the repository.
- (Option 1): Clone the repository with link "https"
git clone https://github.com/escummy/webpack-complete.git
- (Option 2): Clone the repository with link "SSH"
git clone [email protected]:escummy/webpack-complete.git
- (Option 3): Download the file.zip to your desktop
To continue, you need to have installed: [Node
]
(Check in your terminal bash)
node --version
Else, Install nodejs from the official site 'version LTS' (Recommended)
[English] - https://nodejs.org/en/ (or) [Spanish] - https://nodejs.org/es/
- Install the necessary dependencies and devDependencies from any package.json
npm install
Depending on the mode we want to use, we can run the following commands:
- To start a server in mode development at localhost, and keep it watching for changes.
npm run dev
- This command is the only one that can also be used typing just 'npm start'
- To Stop the local server while is running on terminal, you can type
control + c
to finish the watcher and shut down the server.
- Production - At the end of your development, build with this mode to transpile and compile, minify files, preparing the codebase to be ready in production, that include improvements and performance (filename #hashes), avoiding spaces, indented, comments, memory saving and browser compatibility among others.
- NOTE: If you run 'npm install' in production mode, you'll also install DevDependencies.
npm run build
Repositories use SemVer for versioning, three-digit numbering technique based patter of Major, Minor and Patch fixes, see the release tags for more details about version available.
Contributions are always welcome.
See CONTRIBUTING for ways to get started, you can colaborate addings features to improve the repository, you can feel free to suggest anything or help solving issues via pull request.
Please adhere to this project CODE_OF_CONDUCT, examples of behavior that contributes to a positive environment for our community and adapted from the Contributor Covenant, version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
[Author]: Gonzalo Cugiani (Amsterdam, North Holland, Netherlands)
A licensor may grant a license under intellectual property laws to authorize a use (such as copying software or using a patented invention) to a licensee, sparing the licensee from a claim of infringement brought by the licensor.
License used for this repository [
MIT License]
. . .
This README file was updated
Last refresh: Tuesday, 18 May, 20:02 CET