let daisyui = null; try { daisyui = require('daisyui'); } catch (e) { } if (daisyui == null) { try { daisyui = require(`${process.env.DAISYUI_PATH}/daisyui.js`); } catch (e) { } } if (daisyui == null) { console.error('Could not find DaisyUI'); throw new Error('Could not find DaisyUI'); } export default daisyui.default || daisyui;