Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Build in heroku shows my webpack folder with src #61

Closed
Jony-Y opened this issue Jul 19, 2017 · 2 comments
Closed

Build in heroku shows my webpack folder with src #61

Jony-Y opened this issue Jul 19, 2017 · 2 comments

Comments

@Jony-Y
Copy link

Jony-Y commented Jul 19, 2017

Hi,
I noticed that while everything is working. the buildpack (Im assuming since it builds the entire project in heroku) also shows my webpack folder allowing the access to the unuglified js filed

my static.json is:
{ "root": "build/", "clean_urls": false, "routes": { "/**": "index.html" }, "https_only":true, "headers": { "/**": { "Strict-Transport-Security": "max-age=7776000" } } }
and in my production sources I can see the webpack:
image

via the . folder you can access the src.

how do I prevent that?

@lavrton
Copy link

lavrton commented Jul 19, 2017

@Jony-Y try this: #59 (comment)

@Jony-Y
Copy link
Author

Jony-Y commented Jul 19, 2017

@lavrton thanks! worked perfectly

@Jony-Y Jony-Y closed this as completed Jul 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants