mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-03 04:21:34 +08:00
9 lines
292 B
JavaScript
9 lines
292 B
JavaScript
const convertMd2Doc = require('./convertMd2Doc')
|
|
const projectPath = require('./project-path')
|
|
|
|
module.exports = function (content) {
|
|
const env = process.env.NODE_ENV
|
|
const relativeURL = this.resourcePath.replace(projectPath + '/', '')
|
|
return convertMd2Doc(content, env, relativeURL)
|
|
}
|