UNPKG

weapp-tailwindcss

Version:

把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!

14 lines (10 loc) 636 B
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/debug/index.ts var _debug2 = require('debug'); var _debug3 = _interopRequireDefault(_debug2); var _debug = _debug3.default.call(void 0, "weapp-tw"); function createDebug(prefix) { function debug(formatter, ...args) { return _debug((_nullishCoalesce(prefix, () => ( ""))) + formatter, ...args); } return debug; } exports.createDebug = createDebug;