fix Parcel output
This commit is contained in:
		
							parent
							
								
									bd5505c109
								
							
						
					
					
						commit
						256839489a
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -364,3 +364,4 @@ FodyWeavers.xsd | |||||||
| 
 | 
 | ||||||
| .parcel*/ | .parcel*/ | ||||||
| /EnotaryoPH/EnotaryoPH.Web/wwwroot/dist | /EnotaryoPH/EnotaryoPH.Web/wwwroot/dist | ||||||
|  | /EnotaryoPH/EnotaryoPH.Web/dist/ | ||||||
|  | |||||||
| @ -37,6 +37,6 @@ | |||||||
| @section Scripts { | @section Scripts { | ||||||
|     <script src="~/lib/jquery/dist/jquery.min.js"></script> |     <script src="~/lib/jquery/dist/jquery.min.js"></script> | ||||||
|     <partial name="_ValidationScriptsPartial" /> |     <partial name="_ValidationScriptsPartial" /> | ||||||
|     <script src="\dist\js\jfa.min.js"></script> |     <script src="\dist\_Jfa.js"></script> | ||||||
|     <script src="~/Pages/Principal/NotaryoSteps/TakeSelfie.cshtml.js" asp-append-version="true"></script> |     <script src="~/Pages/Principal/NotaryoSteps/TakeSelfie.cshtml.js" asp-append-version="true"></script> | ||||||
| } | } | ||||||
| @ -38,7 +38,7 @@ | |||||||
| @section Scripts { | @section Scripts { | ||||||
|     <script src="~/lib/jquery/dist/jquery.min.js"></script> |     <script src="~/lib/jquery/dist/jquery.min.js"></script> | ||||||
|     <partial name="_ValidationScriptsPartial" /> |     <partial name="_ValidationScriptsPartial" /> | ||||||
|     <script src="/dist/js/jfa.min.js"></script> |     <script src="/dist/_Jfa.js"></script> | ||||||
|     <script src="/js/identification-document.js"></script> |     <script src="/js/identification-document.js"></script> | ||||||
|     <script src="~/Pages/Participant/Registration/Steps/UploadIdentification.cshtml.js" asp-append-version="true"></script> |     <script src="~/Pages/Participant/Registration/Steps/UploadIdentification.cshtml.js" asp-append-version="true"></script> | ||||||
| } | } | ||||||
| @ -77,7 +77,7 @@ | |||||||
| <input type="hidden" value="@JsonSerializer.Serialize(Model.Participants)" /> | <input type="hidden" value="@JsonSerializer.Serialize(Model.Participants)" /> | ||||||
| 
 | 
 | ||||||
| @section Scripts { | @section Scripts { | ||||||
|     <script type="text/javascript" src="~/dist/js/_Jfa.js"></script> |     <script type="text/javascript" src="~/dist/jfa.js"></script> | ||||||
|     <script> |     <script> | ||||||
| 
 | 
 | ||||||
|         let participants = JSON.parse('@Html.Raw(JsonSerializer.Serialize(Model.Participants))'); |         let participants = JSON.parse('@Html.Raw(JsonSerializer.Serialize(Model.Participants))'); | ||||||
|  | |||||||
| @ -30,7 +30,7 @@ | |||||||
| @section Scripts { | @section Scripts { | ||||||
|     <script src="~/lib/jquery/dist/jquery.min.js"></script> |     <script src="~/lib/jquery/dist/jquery.min.js"></script> | ||||||
|     <partial name="_ValidationScriptsPartial" /> |     <partial name="_ValidationScriptsPartial" /> | ||||||
|     <script src="~/dist/js/jfa.min.js"></script> |     <script src="~/dist/_Jfa.js"></script> | ||||||
|     <script src="~/js/identification-document.js"></script> |     <script src="~/js/identification-document.js"></script> | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
| @ -88,6 +88,6 @@ | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @section Scripts { | @section Scripts { | ||||||
|     <script src="/dist/js/jfa.min.js"></script> |     <script src="/dist/_Jfa.js"></script> | ||||||
|     <script src="~/Pages/Principal/NotaryoSteps/ChooseNotary.cshtml.js" asp-append-version="true"></script> |     <script src="~/Pages/Principal/NotaryoSteps/ChooseNotary.cshtml.js" asp-append-version="true"></script> | ||||||
| } | } | ||||||
| @ -66,6 +66,6 @@ | |||||||
| @section Scripts { | @section Scripts { | ||||||
|     <script src="~/lib/jquery/dist/jquery.min.js"></script> |     <script src="~/lib/jquery/dist/jquery.min.js"></script> | ||||||
|     <partial name="_ValidationScriptsPartial" /> |     <partial name="_ValidationScriptsPartial" /> | ||||||
|     <script src="\dist\js\jfa.min.js"></script> |     <script src="\dist\_Jfa.js"></script> | ||||||
|     <script src="~/Pages/Principal/NotaryoSteps/TakeSelfie.cshtml.js" asp-append-version="true"></script> |     <script src="~/Pages/Principal/NotaryoSteps/TakeSelfie.cshtml.js" asp-append-version="true"></script> | ||||||
| } | } | ||||||
| @ -50,6 +50,6 @@ | |||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| @section Scripts { | @section Scripts { | ||||||
|     <script src="/dist/js/jfa.min.js"></script> |     <script src="/dist/_Jfa.js"></script> | ||||||
|     <script src="~/Pages/Principal/NotaryoSteps/UploadDocument.cshtml.js" asp-append-version="true"></script> |     <script src="~/Pages/Principal/NotaryoSteps/UploadDocument.cshtml.js" asp-append-version="true"></script> | ||||||
| } | } | ||||||
| @ -36,7 +36,7 @@ | |||||||
| @section Scripts { | @section Scripts { | ||||||
|     <script src="~/lib/jquery/dist/jquery.min.js"></script> |     <script src="~/lib/jquery/dist/jquery.min.js"></script> | ||||||
|     <partial name="_ValidationScriptsPartial" /> |     <partial name="_ValidationScriptsPartial" /> | ||||||
|     <script src="/dist/js/jfa.min.js"></script> |     <script src="/dist/_Jfa.js"></script> | ||||||
|     <script src="/js/identification-document.js"></script> |     <script src="/js/identification-document.js"></script> | ||||||
|     <script src="~/Pages/Principal/NotaryoSteps/UploadIdentification.cshtml.js" asp-append-version="true"></script> |     <script src="~/Pages/Principal/NotaryoSteps/UploadIdentification.cshtml.js" asp-append-version="true"></script> | ||||||
| } | } | ||||||
|  | |||||||
| @ -4,20 +4,21 @@ | |||||||
|     "description": "Electronic Notarization Platform", |     "description": "Electronic Notarization Platform", | ||||||
|     "author": "Jose Aquino Jr", |     "author": "Jose Aquino Jr", | ||||||
|     "license": "MIT", |     "license": "MIT", | ||||||
|     "browser": "wwwroot/dist/jfa.js", |  | ||||||
|     "targets": { |     "targets": { | ||||||
|         "default": { |         "default": { | ||||||
|             "context": "browser", |             "context": "browser", | ||||||
|             "outputFormat": "global", |             "outputFormat": "global", | ||||||
|             "scopeHoist": false |             "scopeHoist": false, | ||||||
|  |             "optimize": true, | ||||||
|  |             "sourceMap": false | ||||||
|         } |         } | ||||||
|     }, |     }, | ||||||
|     "browserslist": "> 0.5%", |     "browserslist": "> 0.5%", | ||||||
|     "scripts": { |     "scripts": { | ||||||
|         "clean": "rimraf wwwroot/dist", |         "clean": "rimraf wwwroot/dist", | ||||||
|         "build:jfa": "npm run clean && parcel build Assets/js/_Jfa.js --dist-dir wwwroot/dist/js --no-source-maps --no-optimize && parcel build Assets/js/_Jfa.js --dist-dir wwwroot/dist/js2 --no-source-maps", |         "build:jfa": "npm run clean && parcel build Assets/js/_Jfa.js --dist-dir wwwroot/dist/ --no-source-maps", | ||||||
|         "build": "npm run build:jfa", |         "build": "npm run build:jfa", | ||||||
|         "start": "parcel watch Assets/js/_Jfa.js --dist-dir wwwroot/dist/js --no-source-maps" |         "start": "parcel watch Assets/js/_Jfa.js --dist-dir wwwroot/dist/ --no-source-maps" | ||||||
|     }, |     }, | ||||||
|     "devDependencies": { |     "devDependencies": { | ||||||
|         "parcel": "^2.13.3", |         "parcel": "^2.13.3", | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user