Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-code-divider
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
劳工
zeroing-code-divider
Commits
96ad1469
Commit
96ad1469
authored
Dec 24, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分离代码分离器
parent
f6faa06e
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
11 deletions
+23
-11
index.es.js
dist/index.es.js
+5
-2
index.es.js.map
dist/index.es.js.map
+1
-1
index.js
dist/index.js
+5
-2
index.js.map
dist/index.js.map
+1
-1
index.umd.js
dist/index.umd.js
+5
-2
index.umd.js.map
dist/index.umd.js.map
+1
-1
index.js
src/index.js
+5
-2
No files found.
dist/index.es.js
View file @
96ad1469
...
@@ -267,8 +267,11 @@ async function divideCode(data, {debug, compile, uglify, getProcesses, getScript
...
@@ -267,8 +267,11 @@ async function divideCode(data, {debug, compile, uglify, getProcesses, getScript
data
.
customs
=
(
await
getCustoms
(
customs
)).
map
(
item
=>
{
data
.
customs
=
(
await
getCustoms
(
customs
)).
map
(
item
=>
{
const
custom
=
typeof
item
===
'string'
?
JSON
.
parse
(
item
)
:
item
;
const
custom
=
typeof
item
===
'string'
?
JSON
.
parse
(
item
)
:
item
;
customManager
.
deal
(
custom
);
customManager
.
deal
(
custom
);
delete
custom
.
code
;
return
{
return
custom
;
id
:
custom
.
id
,
name
:
custom
.
name
,
assets
:
custom
.
assets
,
};
});
});
}
}
let
customScriptContent
=
customManager
.
generate
();
let
customScriptContent
=
customManager
.
generate
();
...
...
dist/index.es.js.map
View file @
96ad1469
This diff is collapsed.
Click to expand it.
dist/index.js
View file @
96ad1469
...
@@ -273,8 +273,11 @@ async function divideCode(data, {debug, compile, uglify, getProcesses, getScript
...
@@ -273,8 +273,11 @@ async function divideCode(data, {debug, compile, uglify, getProcesses, getScript
data
.
customs
=
(
await
getCustoms
(
customs
)).
map
(
item
=>
{
data
.
customs
=
(
await
getCustoms
(
customs
)).
map
(
item
=>
{
const
custom
=
typeof
item
===
'string'
?
JSON
.
parse
(
item
)
:
item
;
const
custom
=
typeof
item
===
'string'
?
JSON
.
parse
(
item
)
:
item
;
customManager
.
deal
(
custom
);
customManager
.
deal
(
custom
);
delete
custom
.
code
;
return
{
return
custom
;
id
:
custom
.
id
,
name
:
custom
.
name
,
assets
:
custom
.
assets
,
};
});
});
}
}
let
customScriptContent
=
customManager
.
generate
();
let
customScriptContent
=
customManager
.
generate
();
...
...
dist/index.js.map
View file @
96ad1469
This diff is collapsed.
Click to expand it.
dist/index.umd.js
View file @
96ad1469
...
@@ -273,8 +273,11 @@ ${scripts}
...
@@ -273,8 +273,11 @@ ${scripts}
data
.
customs
=
(
await
getCustoms
(
customs
)).
map
(
item
=>
{
data
.
customs
=
(
await
getCustoms
(
customs
)).
map
(
item
=>
{
const
custom
=
typeof
item
===
'string'
?
JSON
.
parse
(
item
)
:
item
;
const
custom
=
typeof
item
===
'string'
?
JSON
.
parse
(
item
)
:
item
;
customManager
.
deal
(
custom
);
customManager
.
deal
(
custom
);
delete
custom
.
code
;
return
{
return
custom
;
id
:
custom
.
id
,
name
:
custom
.
name
,
assets
:
custom
.
assets
,
};
});
});
}
}
let
customScriptContent
=
customManager
.
generate
();
let
customScriptContent
=
customManager
.
generate
();
...
...
dist/index.umd.js.map
View file @
96ad1469
This diff is collapsed.
Click to expand it.
src/index.js
View file @
96ad1469
...
@@ -99,8 +99,11 @@ export async function divideCode(data, {debug, compile, uglify, getProcesses, ge
...
@@ -99,8 +99,11 @@ export async function divideCode(data, {debug, compile, uglify, getProcesses, ge
data
.
customs
=
(
await
getCustoms
(
customs
)).
map
(
item
=>
{
data
.
customs
=
(
await
getCustoms
(
customs
)).
map
(
item
=>
{
const
custom
=
typeof
item
===
'string'
?
JSON
.
parse
(
item
)
:
item
;
const
custom
=
typeof
item
===
'string'
?
JSON
.
parse
(
item
)
:
item
;
customManager
.
deal
(
custom
);
customManager
.
deal
(
custom
);
delete
custom
.
code
;
return
{
return
custom
;
id
:
custom
.
id
,
name
:
custom
.
name
,
assets
:
custom
.
assets
,
};
})
})
}
}
let
customScriptContent
=
customManager
.
generate
();
let
customScriptContent
=
customManager
.
generate
();
...
...
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