15 lines
273 B
JavaScript
15 lines
273 B
JavaScript
'use strict'
|
|
|
|
const path = require('path')
|
|
|
|
module.exports = {
|
|
resolve: function (dir) {
|
|
return path.join(__dirname, '..', dir)
|
|
},
|
|
|
|
assetsPath: function (_path) {
|
|
const assetsSubDirectory = 'static'
|
|
return path.posix.join(assetsSubDirectory, _path)
|
|
}
|
|
}
|