-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This solves the problem of missing manifest.json files of libraries in bundles, such as sap-ui-custom.js (self-contained build). It also eliminates the need to explicitly mention manifest.json files of libraries to be included in custom bundles.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Some fancy copyright | ||
*/ | ||
|
||
sap.ui.define([ | ||
"sap/ui/core/Lib", | ||
"sap/ui/core/library" | ||
], function (Library) { | ||
"use strict"; | ||
|
||
return Library.init({ | ||
name: "library.d", | ||
version: "1.0.0", | ||
dependencies: [ | ||
"sap.ui.core" | ||
], | ||
types: [], | ||
interfaces: [], | ||
controls: [], | ||
elements: [], | ||
noLibraryCSS: true | ||
}); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
/*! | ||
* Some fancy copyright | ||
*/ | ||
(function() { | ||
|
||
sap.ui.define(["./library"], (_library) => { | ||
var someNonUglifiedVariable = "World"; | ||
console.log('Hello ' + someNonUglifiedVariable); | ||
})(); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Some fancy copyright | ||
*/ | ||
|
||
sap.ui.define([ | ||
"sap/ui/core/Lib", | ||
"sap/ui/core/library" | ||
], function (Library) { | ||
"use strict"; | ||
|
||
return Library.init({ | ||
name: "library.d", | ||
version: "1.0.0", | ||
dependencies: [ | ||
"sap.ui.core" | ||
], | ||
types: [], | ||
interfaces: [], | ||
controls: [], | ||
elements: [], | ||
noLibraryCSS: true | ||
}); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
/*! | ||
* Some fancy copyright | ||
*/ | ||
(function() { | ||
|
||
sap.ui.define(["./library"], (_library) => { | ||
var someNonUglifiedVariable = "World"; | ||
console.log('Hello ' + someNonUglifiedVariable); | ||
})(); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Some fancy copyright | ||
*/ | ||
|
||
sap.ui.define([ | ||
"sap/ui/core/Lib", | ||
"sap/ui/core/library" | ||
], function (Library) { | ||
"use strict"; | ||
|
||
return Library.init({ | ||
name: "library.d", | ||
version: "1.0.0", | ||
dependencies: [ | ||
"sap.ui.core" | ||
], | ||
types: [], | ||
interfaces: [], | ||
controls: [], | ||
elements: [], | ||
noLibraryCSS: true | ||
}); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
/*! | ||
* Some fancy copyright | ||
*/ | ||
(function() { | ||
|
||
sap.ui.define(["./library"], (_library) => { | ||
var someNonUglifiedVariable = "World"; | ||
console.log('Hello ' + someNonUglifiedVariable); | ||
})(); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* ${copyright} | ||
*/ | ||
|
||
sap.ui.define([ | ||
"sap/ui/core/Lib", | ||
"sap/ui/core/library" | ||
], function (Library) { | ||
"use strict"; | ||
|
||
return Library.init({ | ||
name: "library.d", | ||
version: "${version}", | ||
dependencies: [ | ||
"sap.ui.core" | ||
], | ||
types: [], | ||
interfaces: [], | ||
controls: [], | ||
elements: [], | ||
noLibraryCSS: true | ||
}); | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
/*! | ||
* ${copyright} | ||
*/ | ||
(function() { | ||
|
||
sap.ui.define(["./library"], (_library) => { | ||
var someNonUglifiedVariable = "World"; | ||
console.log('Hello ' + someNonUglifiedVariable); | ||
})(); | ||
}); |