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
b2b6d191
Commit
b2b6d191
authored
Jan 06, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复打包问题
parent
15af4432
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
12 deletions
+12
-12
index.es.js
dist/index.es.js
+2
-2
index.es.js.map
dist/index.es.js.map
+1
-1
index.js
dist/index.js
+2
-2
index.js.map
dist/index.js.map
+1
-1
index.umd.js
dist/index.umd.js
+2
-2
index.umd.js.map
dist/index.umd.js.map
+1
-1
package.json
package.json
+1
-1
index.js
src/index.js
+2
-2
No files found.
dist/index.es.js
View file @
b2b6d191
...
@@ -276,9 +276,9 @@ async function divideCode(data, {debug, compile, uglify, getProcesses, getScript
...
@@ -276,9 +276,9 @@ async function divideCode(data, {debug, compile, uglify, getProcesses, getScript
data
.
customs
=
customMetas
.
map
(
item
=>
{
data
.
customs
=
customMetas
.
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
);
let
assetMapping
=
customs
.
find
(
c
=>
c
.
id
===
ite
m
.
id
).
assetMapping
;
let
assetMapping
=
customs
.
find
(
c
=>
c
.
id
===
custo
m
.
id
).
assetMapping
;
for
(
let
uuid
in
assetMapping
){
for
(
let
uuid
in
assetMapping
){
let
asset
=
ite
m
.
assets
.
find
(
item
=>
item
.
uuid
===
uuid
);
let
asset
=
custo
m
.
assets
.
find
(
item
=>
item
.
uuid
===
uuid
);
if
(
asset
){
if
(
asset
){
asset
.
url
=
assetMapping
[
uuid
];
asset
.
url
=
assetMapping
[
uuid
];
}
}
...
...
dist/index.es.js.map
View file @
b2b6d191
This diff is collapsed.
Click to expand it.
dist/index.js
View file @
b2b6d191
...
@@ -282,9 +282,9 @@ async function divideCode(data, {debug, compile, uglify, getProcesses, getScript
...
@@ -282,9 +282,9 @@ async function divideCode(data, {debug, compile, uglify, getProcesses, getScript
data
.
customs
=
customMetas
.
map
(
item
=>
{
data
.
customs
=
customMetas
.
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
);
let
assetMapping
=
customs
.
find
(
c
=>
c
.
id
===
ite
m
.
id
).
assetMapping
;
let
assetMapping
=
customs
.
find
(
c
=>
c
.
id
===
custo
m
.
id
).
assetMapping
;
for
(
let
uuid
in
assetMapping
){
for
(
let
uuid
in
assetMapping
){
let
asset
=
ite
m
.
assets
.
find
(
item
=>
item
.
uuid
===
uuid
);
let
asset
=
custo
m
.
assets
.
find
(
item
=>
item
.
uuid
===
uuid
);
if
(
asset
){
if
(
asset
){
asset
.
url
=
assetMapping
[
uuid
];
asset
.
url
=
assetMapping
[
uuid
];
}
}
...
...
dist/index.js.map
View file @
b2b6d191
This diff is collapsed.
Click to expand it.
dist/index.umd.js
View file @
b2b6d191
...
@@ -282,9 +282,9 @@ ${scripts}
...
@@ -282,9 +282,9 @@ ${scripts}
data
.
customs
=
customMetas
.
map
(
item
=>
{
data
.
customs
=
customMetas
.
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
);
let
assetMapping
=
customs
.
find
(
c
=>
c
.
id
===
ite
m
.
id
).
assetMapping
;
let
assetMapping
=
customs
.
find
(
c
=>
c
.
id
===
custo
m
.
id
).
assetMapping
;
for
(
let
uuid
in
assetMapping
){
for
(
let
uuid
in
assetMapping
){
let
asset
=
ite
m
.
assets
.
find
(
item
=>
item
.
uuid
===
uuid
);
let
asset
=
custo
m
.
assets
.
find
(
item
=>
item
.
uuid
===
uuid
);
if
(
asset
){
if
(
asset
){
asset
.
url
=
assetMapping
[
uuid
];
asset
.
url
=
assetMapping
[
uuid
];
}
}
...
...
dist/index.umd.js.map
View file @
b2b6d191
This diff is collapsed.
Click to expand it.
package.json
View file @
b2b6d191
{
{
"name"
:
"zeroing-code-divider"
,
"name"
:
"zeroing-code-divider"
,
"version"
:
"1.0.
0
"
,
"version"
:
"1.0.
1
"
,
"main"
:
"dist/index.js"
,
"main"
:
"dist/index.js"
,
"module"
:
"dist/index.es.js"
,
"module"
:
"dist/index.es.js"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
...
...
src/index.js
View file @
b2b6d191
...
@@ -100,9 +100,9 @@ export async function divideCode(data, {debug, compile, uglify, getProcesses, ge
...
@@ -100,9 +100,9 @@ export async function divideCode(data, {debug, compile, uglify, getProcesses, ge
data
.
customs
=
customMetas
.
map
(
item
=>
{
data
.
customs
=
customMetas
.
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
);
let
assetMapping
=
customs
.
find
(
c
=>
c
.
id
===
ite
m
.
id
).
assetMapping
;
let
assetMapping
=
customs
.
find
(
c
=>
c
.
id
===
custo
m
.
id
).
assetMapping
;
for
(
let
uuid
in
assetMapping
){
for
(
let
uuid
in
assetMapping
){
let
asset
=
ite
m
.
assets
.
find
(
item
=>
item
.
uuid
===
uuid
);
let
asset
=
custo
m
.
assets
.
find
(
item
=>
item
.
uuid
===
uuid
);
if
(
asset
){
if
(
asset
){
asset
.
url
=
assetMapping
[
uuid
];
asset
.
url
=
assetMapping
[
uuid
];
}
}
...
...
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