fd-useable-check-loader

0.0.8 • Public • Published

🚀 fd-useable-check-loader

根据配置文件/build/fd-check.js,格式如:

module.exports = {
  name: 'config-center', // 系统名称
  url: 'http://your-fd-domain/ly/mp/fd/log/addLog', // 请求地址(接收检查日志地址)
  include: ['/src/views/demo/'], // 扫描包含路径,写入项目相对路径
  exclude: [], // 扫描排除路径(优先级高于include),格式与include相同
  includeContent: [], // 扫描文件内容必须包含的字符串,默认:['<template>']
  excludeContent: [], // 扫描文件内容必须不包含字符串,默认:['<fast-dialog', '<fast-form', '<fast-table', '<fast-button']
  maxLength: 4000 // 最大提交字符串长度,默认:4000
}

install

npm i fd-useable-check-loader -D

use

const FdCheck = require('./build/fd-check.js')
config.module
  .rule('fd-useable-check')
  .test(/\.(vue)$/)
  .use('fd-useable-check-loader')
  .loader('fd-useable-check-loader')
  .options({
    ...FdCheck
  })
  .end()

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i fd-useable-check-loader

Homepage

#

Weekly Downloads

0

Version

0.0.8

License

MIT

Unpacked Size

11.3 kB

Total Files

6

Last publish

Collaborators

  • kanhing