-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Cannot build with webpack due to import.meta.url
#172
Comments
i dont think it will work because of the api laravel provide, however am very interested to know more about how u r going to do that 🥇 . for the so for ur issue, install laravel mix v6 "which is the latest" & check the rdme for the deps requirement. |
I tried to install v3.7.5, to test it with webpack 4. Still can't get it working.
I don't get it, because I have worker-loader installed in my node_modules. Do you have any idea to solve this? I saw that you want to decouple the manager from laravel. |
i would recommend to test with the demo repo first, then try with ur build "to track the issue more accurately"
the main problem is that i need to fully decouple the manager from using blade and have everything as a self contained component which is not an easy task. in the same time i prefer to first finish moving away from using bulma/custom-css and toward a more organized css build so everyone can use regardless of their stack, though any thoughts/ideas are appreciated. |
Laravel version
without laravel
Manager version
v3.8.0
:installation
I try to use the media manager without laravel. So I registered the Vue compontent in my application, and I try to build it. But, unfortunately webpack does not recognize the import.meta.url, So It cannot bundle the application.
There is a worker-loader for webpack, for this use case
https://webpack.js.org/loaders/worker-loader/
I can help with js code, But I do not have enough knowledge of Laravel for the integration.
The text was updated successfully, but these errors were encountered: