-
Notifications
You must be signed in to change notification settings - Fork 54
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
Custom build settings #20
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've got a react component I'd like to build to and serve from another folder other than
src
, let´s say the following is my project folder structure:What I'm trying to achieve is to have webpack build the contents of
/src
(which is a React Component) to/docs/build
and then serve the/docs
folder instead of/src
. Within the/docs
folder, index.html loads index.js from/docs/build
folder...Does anyone have any directions on how to achieve such a config? I'd like to keep the default settings as is, but create an alternate webpack config and a package.json script such as "build-serve-docs" as a separated command.
Thanks in advance.
The text was updated successfully, but these errors were encountered: