Skip to content

Commit

Permalink
BC-6752 - Fix H5P editor loading (#3134)
Browse files Browse the repository at this point in the history
  • Loading branch information
uidp authored Mar 20, 2024
1 parent 5bb2d77 commit 9cd1e99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ module.exports = defineConfig({
.use("vue-loader")
.tap((options) => {
options.prettify = false;
options.compilerOptions = {
...(options.compilerOptions || {}),
isCustomElement: (tag) => tag.startsWith("h5p-"),
};
return options;
});
config.plugin("fork-ts-checker").tap((args) => {
Expand Down

0 comments on commit 9cd1e99

Please sign in to comment.