Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Vue apps to vite 4 #1649

Merged
merged 2 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,7 @@ endif
build-admin-npm:
# Build vue permissions application files
npm --prefix static/js/admin/vue-permissions-editor ci

ifeq ($(DEPLOY_TYPE), prod)
npm --prefix static/js/admin/vue-permissions-editor run build
else
npm --prefix static/js/admin/vue-permissions-editor run build-dev
endif

cp static/js/admin/vue-permissions-editor/dist/assets/vue-permissions-index.js static/js/vue-permissions-index.js

Expand Down Expand Up @@ -87,12 +82,7 @@ SUSPEND = "n"
build-access-npm:
# Build vue application(s) files
npm --prefix static/js/vue-cdr-access ci

ifeq ($(DEPLOY_TYPE), prod)
npm --prefix static/js/vue-cdr-access run build
else
npm --prefix static/js/vue-cdr-access run build-dev
endif

# Minify viewer.js file for pdf viewer (Uncomment the lines below if changes are made to the viewer.js file. Requires nodejs 15.x or higher)
# npm install minify -g
Expand Down
1 change: 1 addition & 0 deletions static/js/admin/vue-permissions-editor/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ yarn-error.log*
*.njsproj
*.sln
*.sw?
.env
Loading
Loading