You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2025/06/07 08:05:00 UTC
[jira] [Commented] (TAP5-2803) Add support for JavaScript/ECMAScript 6 modules
[ https://issues.apache.org/jira/browse/TAP5-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956703#comment-17956703 ]
Hudson commented on TAP5-2803:
------------------------------
SUCCESS: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle #63 (See [https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/63/])
TAP5-2803: .mjs files should also be considered ES modules (thiago: rev 0a15992112bce8f7f47552a64542c3a7bcf2fe2e)
* (edit) tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/EsModuleDemo.java
* (edit) tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/EsModuleDemo.tml
* (add) tapestry-core/src/test/resources/META-INF/assets/es-modules/suffix.mjs
* (edit) tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/EsModuleManagerImpl.java
* (edit) tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/EsModuleTests.java
TAP5-2803: trying to figure out the suffix.mjs test failure (thiago: rev 07e0bb6de6c09aead03b69488c4eebeda7b3a74e)
* (edit) tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/EsModuleTests.java
* (edit) tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/EsModuleManagerImpl.java
TAP5-2803: disabling one of the suffix.mjs tests (thiago: rev 3bb4f816153398700e0bd119f093a107ded91a60)
* (edit) tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/EsModuleTests.java
> Add support for JavaScript/ECMAScript 6 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
> Assignee: Thiago Henrique De Paula Figueiredo
> Priority: Major
> Fix For: 5.10.0
>
>
> 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 standard which defines how modules work).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)