cygnal/build/utils.js

12 lines
269 B
JavaScript
Raw Normal View History

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