0.0.16 • Published 7 years ago
hipacker v0.0.16
Hipacker
Fast and zero configuration web application bundler
Usage
As usual, your should install React or Vue related packages by yourself in your project.
Then install hipacker global:
npm i hipacker -gFor React project:
Run following commands in your project root directory:
hipacker startOr install hipacker as a dependencies and config scripts in your package.json
npm i hipacker --save-devConfig scripts:
{
"start": "hipacker start"
}Build for production:
npm run buildFor Vue Project
As for Vue, is the same as React, in a Vue project you can use the same command with the vue option:
hipacker start vueBuild for production:
hipacker build vueFor Development
Clone this repository then run following commands:
npm i
npm run devPreview examples with hipacker:
npm run examples:react
# or
npm run examples:vueUnit test and get coverage:
npm run testIntegration testing:
npm run cy:runTodos
- support React project
- support Vue project
- start Vue demos by options, command may like
hipacker start vue - more ES features support, as stage-0
- production build, like
hipacker build - optimize, CSS extract and split chunks
- support eject config files and overwrite default config as required