Using SplineRuntime with Webpack and Babel #131
Unanswered
eliasfuericht
asked this question in
Q&A
Replies: 2 comments
-
Hey, you should switch to webpack 5. |
Beta Was this translation helpful? Give feedback.
0 replies
-
thank you for the information :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
First of all, I know that this isn't the splinetool/runtime repo, because that doesnt exist on github, sadly... I hope it is still okay if I ask this here, because its also developed by splinetool.
I am currently working on a project where I import a Splinescene with the splineruntime into my project - I have developed it locally in JS with npm create vite@latest and everything worked great. However, now I am trying to transfer my code from my local JS-project into a larger project, which is using webpack for packaging and babel. And now, whenever I try to create my spline application, like this:
I get this error:
and it goes on and on (I think its printing the whole runtime-file to the console). Does anyone have an idea how I could fix this?
I am using:
-typescript: 4.2.3
-webpack: 4.46.0
-webpack-cli: 4.9.2
-babel: 7.18.2
Beta Was this translation helpful? Give feedback.
All reactions