A simple Webpack 4 boilerplate for building client-based libraries.
- Run
yarn install
to get the project's dependencies - Open
webpack.config.js
and change theoutput.library
property to the name of your library - Run
yarn start
to start developing
yarn start
- produces a non-minified dev version of your library and runs a watcher for the webpack config and for the libraryyarn build
- produces both a non-minified and a minified production versions of your libraryyarn test
- runs tests and generates a coverage report under thecoverage
folderyarn test:watch
- runs tests in the watch mode