Using dojo-webpack-plugin with webpack serve
?
#358
ehuelsmann
started this conversation in
General
Replies: 2 comments
-
I suggest you try using a pre-built dojo loader. See Pre-building the Dojo loader. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the quick reply! I'll definitely try it. One remark with respect to the question I asked: the file actually does exist when I check the path that's reported as failed. It seems like there's an ordering problem, as this does work when doing regular development and production builds. Anyway, I'll report back when I have the pre-built dojo loader going. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, @chuckdumont,
As a first introduction, I'm the lead developer of an Open Source accounting and invoicing application (and more) called LedgerSMB. We've been using Dojo 1 for many years to give the application a professional look. In more recent times, we've been very thankfully using this plugin to optimize our JS delivery, lately even with Webpack5!
At the moment, we're at a point where we want to increase the use of JS in our project (moving more responsibilities to the client). In order to speed up our development speed, I'm trying
webpack serve
for hot reloading and immediate rebuilding of our JS while editing the source. However, I'm running into this error:I've searched the documentation and didn't find anything which indicated that said that the plugin isn't compatible with
webpack serve
(or that modules even should comply with specific requirements). I'd love to debug this problem but the webpack (api) ecosystem is rather overwhelming and the plugin digs pretty deep into Dojo's internals. So before I do so, maybe you already know what the problem is or that the plugin isn't compatible withwebpack serve
? If it should be compatible, could you provide me a hint on where to look?The state of my local repo is https://github.com/ehuelsmann/LedgerSMB/tree/11abc1d3185a0c51aa5d673e8d7da2aa7b32774b .
Thanks for your work on the plugin and thanks for any help or insight you can provide!
Regards,
Erik Huelsmann
Beta Was this translation helpful? Give feedback.
All reactions