This is an example of a super simple Webpack setup for using Tailwind CSS with PurgeCSS.
# Install using yarn
yarn install
# For development with webpack watch:
yarn run start
# For minified and purged production build:
yarn run build
# For unminified and purged dev build:
yarn run build:dev
Webpack will watch ./src/styles.css
and ./src/index.html
and rebuild your stylesheet on every change.