Skip to content

Commit

Permalink
Merge pull request #125 from nextcloud/enh/vite
Browse files Browse the repository at this point in the history
Replace webpack with vite
  • Loading branch information
julien-nc authored Sep 21, 2024
2 parents f5cda76 + 47d8931 commit 0e11d67
Show file tree
Hide file tree
Showing 19 changed files with 3,028 additions and 4,638 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
'jsdoc/require-jsdoc': 'off',
'jsdoc/tag-lines': 'off',
'vue/first-attribute-linebreak': 'off',
'import/extensions': 'off'
'import/extensions': 'off',
"import/no-unresolved": ["error", { "ignore": ["\\?raw"] }]
}
}
2 changes: 1 addition & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
npm ci
npm run build --if-present
- name: Check webpack build changes
- name: Check build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
js/
/css
.code-workspace
.DS_Store
.idea/
Expand Down
1 change: 1 addition & 0 deletions .nextcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@
/renovate.json
/stylelint.config.js
/webpack.config.js
/vite.config.ts
/webpack.js
tests
1 change: 1 addition & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ appstore: clean
--exclude=/src \
--exclude=translationfiles \
--exclude=webpack.* \
--exclude=/vite.* \
--exclude=stylelint.config.js \
--exclude=.eslintrc.js \
--exclude=.github \
Expand Down
Loading

0 comments on commit 0e11d67

Please sign in to comment.