UNPKG
pic2editor
Version:
latest (1.0.1)
1.0.1
1.0.0
vue实现的图片编辑器
github.com/S112/pic2editor
pic2editor
/
build
/
utils.js
15 lines
(11 loc)
•
273 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'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) } }