-
Notifications
You must be signed in to change notification settings - Fork 603
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
Full stack example: webpack + Globalize #464
Comments
@jquense, @JeremyRylan, @unindented, @jamischarles, @sompylasar, bundling Globalize with Webpack should work and I'm copying you, because you have shown such interest before and your input is very much appreciated. An example that demonstrates how to develop an app using Globalize with webpack will be included in our repo. This example is going to be our recommendation on that regard. In the description above, I've started a list of goals that the example should address. Do you have any other requirements? I've started implementing the example at #481. Your input there (check if the example really works for you, code review, etc) is also very much appreciated. |
@rxaviers Great work! Thanks for pinging me in. I've added a couple of comments to the PR. I've got more thoughts on real use cases I'm struggling with but they aren't shaped well enough to share yet. |
Thanks @sompylasar |
Sorry I didn't try this before, I was on holidays. This looks great. The example worked for me both in development and in production modes. The only issue I had was that modifying translation files didn't trigger a hot reload. Not a biggie, and if it's a limitation of how the plugin works, I'm totally fine with it. Thanks for your work @rxaviers! |
True. Created rxaviers/globalize-webpack-plugin#5 to keep track of it. Thanks |
@rxaviers Hi rxaviers, i am getting following error. Module parse failed: C:\path\globalize\app\index.js ENOENT: no such file or directory, open 'C:\path\globalize.tmp-globalize-webpack\C:\path\globalize\app\index.js' FYI: I run this application by 'npm run build' command. how can i resolve this issue. I am new to webpack. Can you please help me ASAP. |
Hi @warstick, I'm sorry but there's an issue with the webpack plugin for windows. Although, the fix should be pretty trivial. Please, refer to rxaviers/globalize-webpack-plugin#7. PRs welcome 😄 |
@rxaviers Thanks for fast replay :) But i tried the same way you suggested. Still, same issue coming. |
Please, can you give me more details (e.g., paste the output you get or any other debugging info). Preferably in rxaviers/globalize-webpack-plugin#7. Thx. |
PR #481
Provide better documentation by creating a full stack example using webpack and Globalize.
Ref #441 #467
Goal
Development
Production
The text was updated successfully, but these errors were encountered: