While developing a library it is always helpful to use an application that consumes that library within the same project.
The most obvious reasons are:
- Speeds up developments in a large factor
- Easy debugging
- Provides examples to end user
- A github.io site for presentation (script to upload can be easily integrated)
Suggested Structure:
Webpack is used for development and for bundling the output for the github.io site.
Rollup is used for NPM package creation.
While developing a library it is always helpful to use an application that consumes that library within the same project.
The most obvious reasons are:
Suggested Structure:
Webpack is used for development and for bundling the output for the
github.iosite.Rollup is used for NPM package creation.