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

Include ag-grid in build (see eXist-db/eXide#376) #411

Merged
merged 2 commits into from
Jan 24, 2022

Conversation

amclark42
Copy link
Contributor

The build process copies CSS within node_modules/@ag-grid-community into a git-ignored directory resources/css/ag-grid-community. The eXide HTML template now references local copies of the ag-grid CSS, thus bypassing CORS issues and allowing the Open / Manage dialogs to work offline.

Tested locally using eXist v5.3.1 on a Mac.

The directory `resources/css/ag-grid-community` is created on
`npm run build`, and its contents are gitignored. On `npm run build
clean`, the directory and its contents are deleted.
Copy link
Member

@line-o line-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @amclark42

@joewiz joewiz merged commit 15feaa6 into eXist-db:develop Jan 24, 2022
@amclark42 amclark42 deleted the include-ag-grid-in-build branch January 24, 2022 14:46
@joewiz
Copy link
Member

joewiz commented Jan 24, 2022

@amclark42 Many thanks! This PR is included in eXide 3.3.0, published to the public-repo and to GitHub Releases.

@line-o
Copy link
Member

line-o commented Jan 24, 2022

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants