chore(plop): 🎨 remove unnecessary code fragments

This commit is contained in:
CharleeWa 2022-11-14 11:34:45 +08:00
parent 873dc31b3e
commit b066df2b40
3 changed files with 1 additions and 4 deletions

View File

@ -1,2 +1 @@
exports.notEmpty = name => v =>
!v || v.trim() === '' ? `${name} is required` : true
exports.notEmpty = name => v => !v || v.trim() === '' ? `${name} is required` : true

View File

@ -1,6 +1,5 @@
const viewGenerator = require('./plop-templates/view/prompt')
const componentGenerator = require('./plop-templates/component/prompt')
module.exports = function (plop) {
plop.setGenerator('view', viewGenerator)
plop.setGenerator('component', componentGenerator)

View File

@ -1,4 +1,3 @@
// postcss.config.js
module.exports = {
plugins: {
'autoprefixer': {},