Picture of Ian Luckraft
Use npm packages in custom plugin
by Ian Luckraft - Wednesday, 6 May 2020, 6:55 PM
 

I’m working n a plugin and I need to use some npm packages in it.

Are there any best practices for doing this in Adapt?

I'm developing this use the Framework, the output from the CLI for version is

CLI: 2.1.9
Framework: 5.3.0

I would also like to be able to use the plugin via the authoring tool.

Thanks

Picture of Matt Leathes
Re: Use npm packages in custom plugin
by Matt Leathes - Thursday, 7 May 2020, 10:53 AM
 

Adapt doesn't use npm in the way that you're probably used to if coming from the world of modern web development... we're trying to move it forward to the point where it will but has to be done slowly so as not to break compatibility.

It might be easiest for a question like this if you drop into the Framework Gitter chat room.

Picture of Ian Luckraft
Re: Use npm packages in custom plugin
by Ian Luckraft - Thursday, 7 May 2020, 11:56 AM
 

Thanks Matt, I'll try on Gitter.