This repo reproduces the issue described here:
- Make sure you have the Maizzle CLI installed:
# install the CLI globally
npm i -g @maizzle/cli
- Clone this repo:
git clone https://github.com/maizzle/jit-object-config
-
npm install
dependencies -
Build for production:
maizzle build production
The build should hang.
If you edit tailwind.config.js
and use the simplified array syntax purge
instead of the object one, it'll work.
To check the Tailwind config object that is being used, you can edit node_modules/@maizzle/framework/src/generators/tailwindcss.js
and add this just before the return
statement:
console.log(merge(coreConfig, tailwindConfigObject))