Skip to content

Commit 1b241e6

Browse files
author
Ives van Hoorne
committed
Force .vue files to be read as text
1 parent be44bc6 commit 1b241e6

File tree

1 file changed

+1
-0
lines changed
  • packages/app/src/app/store/modules/files

1 file changed

+1
-0
lines changed

packages/app/src/app/store/modules/files/actions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export async function uploadFiles({ api, props, path }) {
7070
(/\.(j|t)sx?$/.test(filePath) ||
7171
/\.json?$/.test(filePath) ||
7272
/\.html?$/.test(filePath) ||
73+
/\.vue?$/.test(filePath) ||
7374
file.type.startsWith('text/') ||
7475
file.type === 'application/json') &&
7576
dataURI.length < MAX_FILE_SIZE

0 commit comments

Comments
 (0)