{"action":"created","issue":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/2933","repository_url":"https://api.github.com/repos/facebookincubator/create-react-app","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/2933/labels{/name}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/2933/comments","events_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/2933/events","html_url":"https://github.com/facebookincubator/create-react-app/issues/2933","id":249288086,"number":2933,"title":"Symlinks in public folder","user":{"login":"Matthijn","id":1755544,"avatar_url":"https://avatars0.githubusercontent.com/u/1755544?v=4","gravatar_id":"","url":"https://api.github.com/users/Matthijn","html_url":"https://github.com/Matthijn","followers_url":"https://api.github.com/users/Matthijn/followers","following_url":"https://api.github.com/users/Matthijn/following{/other_user}","gists_url":"https://api.github.com/users/Matthijn/gists{/gist_id}","starred_url":"https://api.github.com/users/Matthijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Matthijn/subscriptions","organizations_url":"https://api.github.com/users/Matthijn/orgs","repos_url":"https://api.github.com/users/Matthijn/repos","events_url":"https://api.github.com/users/Matthijn/events{/privacy}","received_events_url":"https://api.github.com/users/Matthijn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-10T09:36:31Z","updated_at":"2017-08-10T09:39:54Z","closed_at":"2017-08-10T09:39:54Z","body":"So, after using this for a while (and still enjoying it) I came across a scenario where I think it possibly could use some improvement. \r\n\r\nSo, I've added a library with NPM, and I need to add some of it's code to the public `index.html` file. But from that file I cannot reference contents in the `node_modules` directory. Only stuff that is in the `public` directory can be references. \r\n\r\nAccording to the documentation, I should copy the contents I want from the `node_modules` folder to the `public` folder. Which works, but is kinda cumbersome. Especially if you update the node module, and you have to copy it again. \r\n\r\nIf instead it was possible to add a symlink in the `public` directory that points to the `node_modules` directory, perhaps it could be possibly that at build time, the build system resolves any symlinks in the `public` folder, and then copies that file to the `build` folder instead of the symlink. \r\n\r\nThat way updating things with npm will still result in having the newest version of that code in the `public` folder. \r\n\r\nIt's a suggestions, perhaps there are reasons not to. But just putting it out there."},"comment":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/comments/321503163","html_url":"https://github.com/facebookincubator/create-react-app/issues/2933#issuecomment-321503163","issue_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/2933","id":321503163,"user":{"login":"Matthijn","id":1755544,"avatar_url":"https://avatars0.githubusercontent.com/u/1755544?v=4","gravatar_id":"","url":"https://api.github.com/users/Matthijn","html_url":"https://github.com/Matthijn","followers_url":"https://api.github.com/users/Matthijn/followers","following_url":"https://api.github.com/users/Matthijn/following{/other_user}","gists_url":"https://api.github.com/users/Matthijn/gists{/gist_id}","starred_url":"https://api.github.com/users/Matthijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Matthijn/subscriptions","organizations_url":"https://api.github.com/users/Matthijn/orgs","repos_url":"https://api.github.com/users/Matthijn/repos","events_url":"https://api.github.com/users/Matthijn/events{/privacy}","received_events_url":"https://api.github.com/users/Matthijn/received_events","type":"User","site_admin":false},"created_at":"2017-08-10T09:39:54Z","updated_at":"2017-08-10T09:39:54Z","body":"Never mind, sorry, it seems it already does this. Great!"}}
{"actor":{"display_login":"Matthijn"}}