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 -g
For React project:
Run following commands in your project root directory:
hipacker start
Or install hipacker as a dependencies and config scripts in your package.json
npm i hipacker --save-dev
Config scripts:
Build for production:
npm run build
For 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 vue
Build for production:
hipacker build vue
For Development
Clone this repository then run following commands:
npm inpm run dev
Preview examples with hipacker:
npm run examples:react# or npm run examples:vue
Unit test and get coverage:
npm run test
Integration testing:
npm run cy:run
Todos
- 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