This is simply to save time for a front end build setup without the overhead of create react app.
It is highly configurable and provides a solid base to build projects off with the ability to do bundle splitting and async imports.
Testing is run through jest
& enzyme
which has been configured for TypeScript
. Yahoo!
npm install
oryarn
to install dev & dependencies.npm start
to run the app in development mode.npm build
to build app in production mode.npm run test
runs jest.npm run test:watch
runs jest in watch mode and will watch files for changes re-running tests.
- Setup to use webpack dev server.
- Watches for changes of any
TypeScript
orscss
file and will refesh app - Will only rebuild code written.
- Will build the entire app.
- Vendor modules (node modules) are hashed and split from the dev written code, external modules will be cached on the users browser to prevent reloading modules which have no changed thus decreasing initial load times.
template.html
can be written in to change title, adddivs
or whatever else is needed.