feat(css): support css asset in bundle mode and esm/cjs #344
test.yml
on: pull_request
Matrix: changes
Matrix: integration-e2e
Matrix: ut
Matrix: benchmark
Test passed or skipped
0s
Annotations
9 errors and 6 warnings
integration/asset/index.test.ts > set the size threshold to inline static assets:
tests/integration/asset/index.test.ts#L10
AssertionError: expected 'var __webpack_module_cache__ = {};\nf…' to contain 'const logo_namespaceObject = "data:im…'
- Expected
+ Received
- const logo_namespaceObject = "data:image/svg+xml;base64
+ var __webpack_module_cache__ = {};
+ function __webpack_require__(moduleId) {
+ var cachedModule = __webpack_module_cache__[moduleId];
+ if (void 0 !== cachedModule) return cachedModule.exports;
+ var module = __webpack_module_cache__[moduleId] = {
+ exports: {}
+ };
+ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+ return module.exports;
+ }
+ (()=>{
+ __webpack_require__.p = "/";
+ })();
+ const logo_namespaceObject = __webpack_require__.p + "static/svg/logo.svg";
+ const src_rslib_entry_ = logo_namespaceObject;
+ export { src_rslib_entry_ as default };
+
❯ integration/asset/index.test.ts:10:44
|
integration-e2e (ubuntu-latest, 22)
Process completed with exit code 1.
|
integration-e2e (18, windows-latest)
The job was canceled because "ubuntu-latest_22" failed.
|
integration-e2e (18, windows-latest)
The operation was canceled.
|
integration-e2e (ubuntu-latest, 18)
The job was canceled because "ubuntu-latest_22" failed.
|
integration/asset/index.test.ts > set the size threshold to inline static assets:
tests/integration/asset/index.test.ts#L10
AssertionError: expected 'var __webpack_module_cache__ = {};\nf…' to contain 'const logo_namespaceObject = "data:im…'
- Expected
+ Received
- const logo_namespaceObject = "data:image/svg+xml;base64
+ var __webpack_module_cache__ = {};
+ function __webpack_require__(moduleId) {
+ var cachedModule = __webpack_module_cache__[moduleId];
+ if (void 0 !== cachedModule) return cachedModule.exports;
+ var module = __webpack_module_cache__[moduleId] = {
+ exports: {}
+ };
+ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+ return module.exports;
+ }
+ (()=>{
+ __webpack_require__.p = "/";
+ })();
+ const logo_namespaceObject = __webpack_require__.p + "static/svg/logo.svg";
+ const src_rslib_entry_ = logo_namespaceObject;
+ export { src_rslib_entry_ as default };
+
❯ integration/asset/index.test.ts:10:44
|
integration-e2e (ubuntu-latest, 18)
The operation was canceled.
|
integration-e2e (ubuntu-latest, 20)
The job was canceled because "ubuntu-latest_22" failed.
|
integration-e2e (ubuntu-latest, 20)
The operation was canceled.
|
changes (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
changes (18)
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']
|
ut (ubuntu-latest, 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ut (ubuntu-latest, 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ut (ubuntu-latest, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
integration-e2e (ubuntu-latest, 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|