You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Thiago Henrique De Paula Figueiredo (Jira)" <ji...@apache.org> on 2025/03/27 11:11:00 UTC

[jira] [Created] (TAP5-2803) Add support for JavaScript/ECMAScript modules

Thiago Henrique De Paula Figueiredo created TAP5-2803:
---------------------------------------------------------

             Summary: Add support for JavaScript/ECMAScript modules
                 Key: TAP5-2803
                 URL: https://issues.apache.org/jira/browse/TAP5-2803
             Project: Tapestry 5
          Issue Type: New Feature
          Components: tapestry-core
            Reporter: Thiago Henrique De Paula Figueiredo


Right now, while Tapestry has built-in support for including JavaScript files and Require.js modules in components, pages and mixins, it has none for JavaScript/ECMAScript  6 [modules|[https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules].] This makes using them in Tapestry webapps hard to do.

To avoid confusion with Require.js modules, which are referred as "modules" in the Tapestry support for them (@Import's module attribute, JavaScriptSupport require() methods), JavaScript modules will be referred in the new code as "esModule" (as in ECMAScript module, ECMAScript 6 being the JavaScript specification which defines how modules work.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)