Skip to content

NXT 6918#394

Open
dan-ichim-lgp wants to merge 17 commits into
developfrom
feature/NXT-6918
Open

NXT 6918#394
dan-ichim-lgp wants to merge 17 commits into
developfrom
feature/NXT-6918

Conversation

@dan-ichim-lgp

Copy link
Copy Markdown

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • I have run automated testing and it is passed
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

Resolution

Additional Considerations

Links

Comments

@dan-ichim-lgp dan-ichim-lgp self-assigned this Jul 13, 2026
Comment thread config/bun/framework.js Outdated

if (options.polyfill) {
const polyfillPath = options.polyfill.replace(/\\/g, '/');
lines.push(`__register('@enact/polyfills', function () { return require(${JSON.stringify(polyfillPath)}); });`);
Comment thread config/bun/framework.js Outdated
}

for (const {id, request} of modules) {
lines.push(`__register(${JSON.stringify(id)}, function () { return require(${JSON.stringify(request)}); });`);
Bun's CSS pipeline does not understand ~package/path imports that css-loader and less-loader handled in webpack. Add shared resolution for @import and @import-json, plus a LESS FileManager for .less imports.
@dan-ichim-lgp
dan-ichim-lgp changed the base branch from master to develop July 14, 2026 07:09
@daniel-stoian-lgp

Copy link
Copy Markdown
Contributor

i tried to serve qa-a11y sample in limestone , but , the app does not load in the browser. Please check

Uncaught ReferenceError: global is not defined
at entry.js:1196:3
at entry.js:49:45
at entry.js:95114:3
at entry.js:49:45
at entry.js:95153:16

ReferenceError: global is not defined: config/polyfills.js and config/corejs-proxy.js use bare global, which the old webpack config shimmed via NodePolyfillPlugin. That plugin was dropped from package.json and never replaced in the Bun config, so every app bundle throws at startup.

@daniel-stoian-lgp

Copy link
Copy Markdown
Contributor

CSS modules are silently broken. createCssLoadResult returns {loader: 'css', exports}, but Bun ignores exports on the css loader. Please check after fixing the error above

@daniel-stoian-lgp

Copy link
Copy Markdown
Contributor

--watch doesn't watch. Bun.build has no watch/onRebuild option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants