Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
local-cdn
Project
Project
Details
Activity
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
local-cdn
Commits
17e82ee7
Commit
17e82ee7
authored
Nov 28, 2017
by
Дмитрий Никулин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for empty main/minified fields
parent
e507cb2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
functions.sh
functions.sh
+8
-3
No files found.
functions.sh
View file @
17e82ee7
...
...
@@ -86,9 +86,14 @@ create_dist_link () {
# main_file=$(yarn info "$1" main)
#else
#fi
link_and_print
"
$library_base
/
$main_file_minified
"
"
$public_base
/
$library
.min.js"
link_and_print
"
$public_base
/
$library
.min.js"
"
$public_base
/
$library
.js"
link_and_print
"
$library_base
/
$main_file
"
"
$public_base
/
$library
.development.js"
if
[
"
$main_file_minified
"
!=
"-"
]
;
then
link_and_print
"
$library_base
/
$main_file_minified
"
"
$public_base
/
$library
.min.js"
link_and_print
"
$public_base
/
$library
.min.js"
"
$public_base
/
$library
.js"
fi
;
if
[
"
$main_file
"
!=
"-"
]
;
then
link_and_print
"
$library_base
/
$main_file
"
"
$public_base
/
$library
.development.js"
fi
add_custom_links
"
$library
"
"
$version
"
}
...
...
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