hz-zhhq-web/node_modules/@vue/cli-service/lib/util/getAssetPath.js

8 lines
209 B
JavaScript
Raw Normal View History

2025-02-25 13:43:48 +08:00
const path = require('path')
module.exports = function getAssetPath (options, filePath, placeAtRootIfRelative) {
return options.assetsDir
? path.posix.join(options.assetsDir, filePath)
: filePath
}