.nabble.com]
Sent: tirsdag 28. november 2017 08:34
To: Svein-Erik Løken
Subject: Re: Contribute requirejs.config.paths to ModuleManager
Hi,
It has been a while since I last fought the module system, but in some
cases I've used a request filter to map between module and asset paths
(trigger
trap/collapse
> GET http://localhost:9876/modules.gz/react.js 404 (No module for path
> 'react.js'.)
>
> Very strange that the virtual link does not work!
>
> S-E
>
>
> From: Thiago H de Paula Figueiredo [via Apache Tapestry Mailing List
> Archives] [mailto:m
ge that the virtual link does not work!
S-E
From: Thiago H de Paula Figueiredo [via Apache Tapestry Mailing List Archives]
[mailto:ml+s1045711n5733729...@n5.nabble.com]
Sent: mandag 27. november 2017 13:32
To: Svein-Erik Løken
Subject: Re: Contribute requirejs.config.paths to ModuleM
On Sun, Nov 26, 2017 at 10:40 AM, Svein-Erik Løken wrote:
> Source code:
>
> @Contribute(JavaScriptStackSource.class)
> public static void addMyStack(MappedConfiguration JavaScriptStack> configuration) {
> configuration.addInstance("react", ReactStack.class);
> }
>
> @Contribute(JavaScriptSt
return ret;
}
From: Thiago H de Paula Figueiredo [via Apache Tapestry Mailing List Archives]
[mailto:ml+s1045711n5733724...@n5.nabble.com]
Sent: fredag 24. november 2017 22:03
To: Svein-Erik Løken
Subject: Re: Contribute requirejs.config.paths to ModuleManager
I'm wonder
could be modified to also accept paths.
> To support modern JS frameworks I think setting requirejs.config.paths in a
> nice way globally should be implemented.
>
> S-E
>
> From: Thiago H de Paula Figueiredo [via Apache Tapestry Mailing List
> Archives] [mailto:ml+s1045711n57337
));
}
return configuration;
});
}
I am now calling this in my global mailto:ml+s1045711n5733722...@n5.nabble.com]
Sent: fredag 24. november 2017 17.02
To: Svein-Erik Løken
Subject: Re: Contribute requirejs.config.paths to ModuleManager
On Fri, Nov 24, 2017 at 11:13 AM, S
On Fri, Nov 24, 2017 at 11:13 AM, Svein-Erik Løken wrote:
Hello!
Trying to use TypeScript and React with Tapestry:
>
> In TypeScript I need to use: import * as React from "react";
>
> I would like to load react: react.min, so I have to set paths: {...}
>
> The configuration should be set at sta