A simple Webpack 4 boilerplate for building client-based libraries.
- Run
yarn installto get the project's dependencies - Open
webpack.config.jsand change theoutput.libraryproperty to the name of your library - Run
yarn startto 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 thecoveragefolderyarn test:watch- runs tests in the watch mode