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

fix(refs T31010): Handle ES5/ES6 issues #65

Closed
wants to merge 3 commits into from

Conversation

salisdemos
Copy link
Contributor

On some Pages we found strange behavior resolving some external Dependencies. We thought, they where already fixed by transpiling them during the buildstep, but it turned out that it wasn't enough.

here webpack/webpack#2933 I found another solution on top, which I applied and which looks like it works.

You can test this in demosplan-core -> /einstellungen/plattform (as Support)

ATM there are still changes to make it localy testable.
(changes in package.json)

refs https://yaits.demos-deutschland.de/T31010

@salisdemos salisdemos self-assigned this Jan 17, 2023
@@ -55,6 +56,9 @@ const config = {
plugins: [
new MiniCssExtractPlugin(),
new VueLoaderPlugin(),
new DefinePlugin({
Copy link
Contributor

Choose a reason for hiding this comment

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

I do not understand what is achieved by DefinePlugin here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Me neither. I hoped You got an Idea. It seems to fix the issue, but why - I can't say. :-/

# Conflicts:
#	src/components/core/DpEditor/DpResizableImage.vue
@salisdemos
Copy link
Contributor Author

This was the wrong track

@salisdemos salisdemos closed this Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants