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

Question: correct use case #26

Closed
vladra opened this issue Sep 27, 2016 · 2 comments
Closed

Question: correct use case #26

vladra opened this issue Sep 27, 2016 · 2 comments

Comments

@vladra
Copy link

vladra commented Sep 27, 2016

Hi!

I'm struggled a bit with correct use case. If I understood correctly, rootAssetPath points to the folder where webpack will output all files. But this produces several errors for me:

ERROR in ./public/bundle.min.js.map
Module parse failed: **************/app/public/bundle.min.js.map Unexpected token (1:10)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (1:10)
ERROR in ./public/assets.json
Module parse failed: **************/app/public/assets.json Unexpected token (1:9)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (1:9)
ERROR in ./public/.gitkeep
Module parse failed: **************/app/public/.gitkeep Unexpected character '#' (1:0)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected character '#' (1:0)

Adding webpack loaders to cover those files seems weird to me. So I was thinking that I'm doing something wrong. Any tips?

Thanks in advance

@nickjj
Copy link
Owner

nickjj commented Sep 27, 2016

Hi,

This is related to issue #25.

@vladra
Copy link
Author

vladra commented Sep 29, 2016

It seems so. I could blacklist json or git file, but I stil need to process map file.

Didnt find proper way to do this with plugin. Did manifest using ruby.

@vladra vladra closed this as completed Sep 29, 2016
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

2 participants