mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-22 23:30:08 -06:00
8 lines
186 B
JavaScript
8 lines
186 B
JavaScript
const path = require('path')
|
|
|
|
module.exports = function getAssetPath (options, filePath) {
|
|
return options.assetsDir
|
|
? path.posix.join(options.assetsDir, filePath)
|
|
: filePath
|
|
}
|