I'll have a play with that later. Thanks again for all your help.
Doug.
On 25 January 2017 at 16:02, Michael Ellery wrote:
>
> > On Jan 24, 2017, at 11:22 PM, doug livesey wrote:
> >
> > Is there any way that I can make the files webpack compiles into
> dependen
Is there any way that I can make the files webpack compiles into
dependencies for the Webpack task? So that any changes to those are picked
up for recompilation?
No worries if not, I just thought it would be nice.
On 25 January 2017 at 07:19, doug livesey wrote:
> Perfect, thankyou so m
BYPRODUCTS public/bundle.js
> )
>
> …that’s untested, of course. I you do that, then I think you don’t need
> the add_custom_command at all….but you will still want to make some of your
> other targets depend on this target if they need bundle.js before they run.
>
> &g
ave a look at execute_process. The
> downside of that is that it will generally always run when CMAKE is run,
> but never during the make process so it doesn’t really handle updates to
> the source (input) files very well. I’m not sure which technique applies
> best to your situation here.
Hi, I want to call the following command as part of a build:
$ ./node_modules/.bin/webpack
This should generate a file public/bundle.js
I'm really struggling with this. I guess there's something fundamental that
I'm not understanding. `add_custom_command` doesn't seem to be doing
anything.
I wou