Update dependencies and improve build system

This commit is contained in:
Fawad Mirzad
2021-02-13 17:30:46 +01:00
parent 04431e1b39
commit 9a20c42459
57 changed files with 8395 additions and 1064 deletions

9
service/utils/paths.js Normal file
View File

@@ -0,0 +1,9 @@
'use strict'
const path = require('path')
// gen static file path
exports.getAssetPath = (...args) => path.posix.join('static', ...args)
// gen absolute path
exports.resolve = (...args) => path.posix.join(process.cwd(), ...args)