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

How to use the loader #5

Open
mi-skam opened this issue Jul 14, 2020 · 0 comments
Open

How to use the loader #5

mi-skam opened this issue Jul 14, 2020 · 0 comments

Comments

@mi-skam
Copy link

mi-skam commented Jul 14, 2020

Hi,
I have trouble understanding the use of the loader. I am quite new to webpack and thus unsure how to combine "aframe-super-hot-html-loader" with the rest of my mi-skam/aframe-template/webpack.common.js and mi-skam/aframe-template/webpack.dev.js.

I simply start with webpack --config webpack.prod.js which merges webpack.common.js and the goal of my webpack config is to create a dist folder with assets and a matching index.html, unfortunately as of now I don't know how to bundle aframe without getting a "missing window object" and worse than that. I get some JS Code by the hot loader inserted into the html, like here https://pastebin.com/ZX52L9r6

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

No branches or pull requests

1 participant