DEV: Skip babel for qunit and sinon (#26028)

Skipping babel for qunit is part of the default embroider blueprint. Adding these doesn't seem to have a measurable effect on build time, but it does stop this message from being printed in the build log:

```
The code generator has deoptimised the styling of /Users/david/discourse/discourse/node_modules/sinon/pkg/sinon-esm.js as it exceeds the max of 500KB
```
This commit is contained in:
David Taylor 2024-03-05 11:34:51 +00:00 committed by GitHub
parent 27407a25b4
commit 2f9db62e1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -228,6 +228,14 @@ module.exports = function (defaults) {
],
},
},
skipBabel: [
{
package: "qunit",
},
{
package: "sinon",
},
],
});
return mergeTrees([appTree, mergeTrees(extraPublicTrees)]);