erikras / erikras/react-redux-universal-hot-example

How to start without src folder?

Open
#1,409 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I met a question today, after I add `server.js` into entry, and it generates a `server.js` into folder `/static/dist`.
![image](https://user-images.githubusercontent.com/5832130/30387962-c8f25848-98e0-11e7-97d9-e6d077aa0be0.png)

And I edit bin/server.js, like this
![image](https://user-images.githubusercontent.com/5832130/30387348-c062a252-98de-11e7-80c4-d43c3bd227bf.png)

My question is, I want to run it as prod mode, and don't want to relate with src folder, want to use the compiled files directly, can I?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.