Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psd-parse
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
psd-parse
Commits
4a712d00
Commit
4a712d00
authored
Sep 27, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件名使用hash字符串
节点增加uuid字段
parent
f112f438
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
generator.cjs.js
samples/zeroing-demo/generator.cjs.js
+1
-0
generator.cjs.js.map
samples/zeroing-demo/generator.cjs.js.map
+1
-1
zeroing.js
src/zeroing.js
+1
-0
No files found.
samples/zeroing-demo/generator.cjs.js
View file @
4a712d00
...
@@ -79,6 +79,7 @@ async function execute(psdFile, options) {
...
@@ -79,6 +79,7 @@ async function execute(psdFile, options) {
let
viewRoot
=
{
let
viewRoot
=
{
name
:
path
.
basename
(
psdFile
,
'.psd'
),
name
:
path
.
basename
(
psdFile
,
'.psd'
),
type
:
'node'
,
type
:
'node'
,
uuid
:
generateUUID
(),
};
};
const
assets
=
[];
const
assets
=
[];
...
...
samples/zeroing-demo/generator.cjs.js.map
View file @
4a712d00
This diff is collapsed.
Click to expand it.
src/zeroing.js
View file @
4a712d00
...
@@ -86,6 +86,7 @@ export async function execute(psdFile, options) {
...
@@ -86,6 +86,7 @@ export async function execute(psdFile, options) {
name
,
name
,
ext
,
ext
,
uuid
,
uuid
,
hash
:
hashFileName
,
});
});
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment