Skip to content

Commit

Permalink
ADX-1088 Extract frictionless js into separate webassets component. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeksabala authored Apr 11, 2024
1 parent f1af77f commit 4b5f236
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions ckanext/unaids/assets/webassets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,19 @@ FileInputComponentStyles:
filters: cssmin
output: unaids/%(version)s_FileInputComponent.css

FrictionlessJS:
filters: rjsmin
contents:
- frictionless-js.js
output: unaids/%(version)s_Frictionless.js

FileInputComponentScripts:
filters: rjsmin
contents:
- frictionless-js.js
- build/FileInputComponent.js
extra:
preload:
- ckanext-unaids/FrictionlessJS
output: unaids/%(version)s_FileInputComponent.js

BulkFileUploaderComponentStyles:
Expand All @@ -36,8 +44,10 @@ BulkFileUploaderComponentStyles:
BulkFileUploaderComponentScripts:
filters: rjsmin
contents:
- frictionless-js.js
- build/BulkFileUploaderComponent.js
extra:
preload:
- ckanext-unaids/FrictionlessJS
output: unaids/%(version)s_BulkFileUploaderComponent.js

MapSelectorJS:
Expand Down

0 comments on commit 4b5f236

Please sign in to comment.