Skip to content

Commit 0e11d67

Browse files
authored
Merge pull request #125 from nextcloud/enh/vite
Replace webpack with vite
2 parents f5cda76 + 47d8931 commit 0e11d67

19 files changed

+3028
-4638
lines changed

.eslintrc.js renamed to .eslintrc.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
'jsdoc/require-jsdoc': 'off',
1313
'jsdoc/tag-lines': 'off',
1414
'vue/first-attribute-linebreak': 'off',
15-
'import/extensions': 'off'
15+
'import/extensions': 'off',
16+
"import/no-unresolved": ["error", { "ignore": ["\\?raw"] }]
1617
}
1718
}

.github/workflows/node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
npm ci
7373
npm run build --if-present
7474
75-
- name: Check webpack build changes
75+
- name: Check build changes
7676
run: |
7777
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
7878

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
js/
2+
/css
23
.code-workspace
34
.DS_Store
45
.idea/

.nextcloudignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@
3232
/renovate.json
3333
/stylelint.config.js
3434
/webpack.config.js
35+
/vite.config.ts
3536
/webpack.js
3637
tests

makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ appstore: clean
8181
--exclude=/src \
8282
--exclude=translationfiles \
8383
--exclude=webpack.* \
84+
--exclude=/vite.* \
8485
--exclude=stylelint.config.js \
8586
--exclude=.eslintrc.js \
8687
--exclude=.github \

0 commit comments

Comments
 (0)