-
Notifications
You must be signed in to change notification settings - Fork 38
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
Compiling multiple entry files with reaxt #8
Comments
I am very sorry for the late answer, yes of course it is possible, using webpack.config you can customize "entries" as you want. (see http://webpack.github.io/docs/multiple-entry-points.html) For instance replace entry: {
lib1: "./index1",
lib2: "./index2"
} Then the you can also customize the output file name and directory :
Then you only have to include
|
I know it is with time :) I'll look into testing this out. I'm not sure what you mean with all components will be included into all entries though? Does this mean that even if I don't reference the files in the entries it will still be included? |
Yes exactly, to be clear, the entry So that makes all components to be included in all entries, see : |
Is it then beyond the scope of Reaxt to make multiple entries each with their own separate group of components? |
I got an elixir app where I need multiple react apps. That can be done with different
react.render :<target>
, but it will stil use the same js file.Is it somehow possible to make separate js files for different parts of the app?
The text was updated successfully, but these errors were encountered: