cygnal/build/utils.js

12 lines
269 B
JavaScript

'use strict'
const path = require('path')
const config = require('../config')
exports.assetsPath = function (_path) {
return path.posix.join(config.build.assetsSubDirectory, _path)
}
exports.resolve = function (dir) {
return path.join(__dirname, '..', dir)
}