feige
5 天以前 f43ef0c77c6f437bd0f7459d75168e6f77e334bb
1
2
3
4
5
6
7
const path = require('path')
 
module.exports = function getAssetPath (options, filePath) {
  return options.assetsDir
    ? path.posix.join(options.assetsDir, filePath)
    : filePath
}