[PatternFly] patternfly-ng and SystemJs

Stan Silvert ssilvert at redhat.com
Wed May 16 15:07:15 UTC 2018


Hi Dan,

Our app is unable to use WebPack (wish we could).  I've haven't been 
able to get PatternFlyNG to work with SystemJS.  Was hoping someone 
could tell me how to set this up.

Stan

On 5/16/2018 10:37 AM, Dan Labrecque wrote:
> Hi Stan,
>
> PatternFlyNG is built with WebPack, but that doesn't mean your 
> application must use it. Unless you're interested in tree shaking? As 
> a stand alone library, we're not generating a single bundle.js file as 
> done with applications, but generating multiple index.js files, so 
> modules can be imported individually.
>
> In the application, we're using ES6 syntax to import the modules. I 
> haven't used SystemJS, but understand it's used client-side to import 
> modules lazily. Looking at the SystemJS syntax, I'm not sure there is 
> an advantage over individual ES6 module imports? That is, considering 
> PatternFlyNG is a stand alone library.
>
> FYI, Catherine Robson mentioned she's looking for a date/time to set 
> up with your team to talk about PatternFlyNG in more detail.
>
> Dan
>
> On 5/15/18 3:39 PM, Stan Silvert wrote:
>> Has anyone here successfully used patternfly-ng with a SystemJs based 
>> application?
>>
>> Is patternfly-ng only meant to be used with WebPack?
>>
>> Stan
>>
>> _______________________________________________
>> PatternFly mailing list
>> PatternFly at redhat.com
>> https://www.redhat.com/mailman/listinfo/patternfly
>
> _______________________________________________
> PatternFly mailing list
> PatternFly at redhat.com
> https://www.redhat.com/mailman/listinfo/patternfly





More information about the PatternFly mailing list