load license content from LICENSE file when build app

This commit is contained in:
MaysWind
2021-04-05 18:26:18 +08:00
parent a570a51bdf
commit d8b6091dcc
4 changed files with 29 additions and 30 deletions
+5 -2
View File
@@ -1,5 +1,8 @@
export default {
getLicenses: () => {
return process.env.LICENSES || [];
getLicense: () => {
return process.env.LICENSE;
},
getThirdPartyLicenses: () => {
return process.env.THIRD_PARTY_LICENSES || [];
}
};