Skip to content

Commit 85ef755

Browse files
committed
fix: load file before elements
1 parent 57293db commit 85ef755

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CoCreate.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,14 @@ module.exports = {
132132
"import": "@cocreate/render",
133133
"selector": "[render], [render-selector], [render-closest], [render-parent], [render-next], [render-previous], [template], template"
134134
},
135-
"elements": {
136-
"import": "@cocreate/elements",
137-
"selector": "form, [src], [storage], [database], [array]"
138-
},
139135
"file": {
140136
"import": "@cocreate/file",
141137
"selector": "[type='file'], [actions*='upload'], [actions*='download'], [actions*='saveLocally'], [actions*='import'], [actions*='export'], [actions*='createFile'], [actions*='deleteFile'], [actions*='createDirectory'], [actions*='deleteDirectory']"
142138
},
139+
"elements": {
140+
"import": "@cocreate/elements",
141+
"selector": "form, [src], [storage], [database], [array]"
142+
},
143143
"api": {
144144
"import": "@cocreate/api",
145145
"selector": "[actions], [template_id]"

0 commit comments

Comments
 (0)