WarrickF's Forum Posts

  • 3 posts
  • yes I understand they are different things. My point is that in most cases where you're working on a web project that does make use of modules, the module goes through some process before it'll work in a web browser. Babel being the most common .. and what you're saying is that modules need to be pre-processed using something like Babel or Browserify before including them into your Construct project so that they are web browser friendly. Am I understanding that correctly?

  • I see, so if I'm understanding correctly. Modules are generally used when there's some form of transpiler involved, like WebPack or Babel.

    In order to use these projects that export functionality as CommonJS / ES5 type modules I guess these need to go through a transpiler and then through something like browserify.org ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi Team,

    I'm so excited for the JS features, however all of the JS that I want to run is available in external npm modules e.g.

    import { XXX } from 'SomeNPMPackage';

    Any news on when this will be available? This is a game changer for me.

    Thanks

    Warrick

  • 3 posts