UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

21 lines (17 loc) 502 B
'use strict'; var plugin = require('@parcel/plugin'); var build = require('../cli/commands/build.cjs'); var dev = require('../cli/commands/dev.cjs'); var parcel = new plugin.Reporter({ async report({ event, options }) { if (event.type === "buildStart" && options.env.NODE_ENV === "production") { await build.build(); } if (event.type === "watchStart") { await build.build(); await dev.dev(); } } }); module.exports = parcel; //# sourceMappingURL=parcel.cjs.map