preact-cli-lodash
Minify build when using lodash and preact-cli
Getting Started
Install it via npm:
npm install preact-cli-lodash
yarn:
yarn add preact-cli-lodash --dev
This will install:
And include in your project by creating a preact.config.js
const preactCliLodash = ; { ;}
Arguments
If you want to pass options to the lodash-webpack-plugin
you can as the second argument of the preactCliLodash
function like so:
const preactCliLodash = ; { ;}
License
MIT