2018-06-25 18:29:57 +02:00
|
|
|
'use strict'
|
|
|
|
const path = require('path')
|
|
|
|
const config = require('../config')
|
|
|
|
|
|
|
|
exports.assetsPath = function (_path) {
|
2018-08-05 22:05:56 +02:00
|
|
|
return path.posix.join(config.build.assetsSubDirectory, _path)
|
2018-06-25 18:29:57 +02:00
|
|
|
}
|
|
|
|
|
2018-08-05 22:05:56 +02:00
|
|
|
exports.resolve = function (dir) {
|
|
|
|
return path.join(__dirname, '..', dir)
|
2018-06-25 18:29:57 +02:00
|
|
|
}
|