feat!: support redirect.style.path
and redirect.style.extension
#464
Annotations
7 errors
|
tests/integration/redirect/jsNotResolved.test.ts#L17
Error: Snapshot `redirect.js default 1` mismatched
- Expected
+ Received
[
"warn Failed to resolve module "./bar.js" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
- "warn Failed to resolve module "./foo" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
+ "warn Failed to resolve module "./bar.js" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
+ "warn Failed to resolve module "./foo" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
+ "warn Failed to resolve module "./foo" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
+ "warn Failed to resolve module "lodash" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
"warn Failed to resolve module "lodash" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
]
❯ integration/redirect/jsNotResolved.test.ts:17:22
|
tests/integration/redirect/jsNotResolved.test.ts#L52
AssertionError: expected 3 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 3
❯ integration/redirect/jsNotResolved.test.ts:52:29
|
tests/integration/redirect/jsNotResolved.test.ts#L80
Error: Snapshot `redirect.js.extension: false 1` mismatched
- Expected
+ Received
[
"warn Failed to resolve module "./bar.js" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
- "warn Failed to resolve module "./foo" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
+ "warn Failed to resolve module "./bar.js" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
+ "warn Failed to resolve module "./foo" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
+ "warn Failed to resolve module "./foo" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
+ "warn Failed to resolve module "lodash" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
"warn Failed to resolve module "lodash" from <ROOT>/tests/integration/redirect/js-not-resolve/src/index.js. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.",
]
❯ integration/redirect/jsNotResolved.test.ts:80:22
|
tests/integration/redirect/styleExtension.test.ts#L21
Error: Snapshot `should extract css successfully when using redirect.style = false 3` mismatched
- Expected
+ Received
- "import * as __WEBPACK_EXTERNAL_MODULE__index_module_less_d1c6f702__ from "./index.module.less";
+ "import * as __WEBPACK_EXTERNAL_MODULE__index_module_less__ from "./index.module.less";
- __WEBPACK_EXTERNAL_MODULE__index_module_less_d1c6f702__["default"];
+ __WEBPACK_EXTERNAL_MODULE__index_module_less__["default"];
"
❯ integration/redirect/styleExtension.test.ts:21:29
|
tests/integration/redirect/stylePath.test.ts#L23
Error: Snapshot `should handle the crossing case import "@/css/button.css" 3` mismatched
- Expected
+ Received
- "import * as __WEBPACK_EXTERNAL_MODULE__index_module_js_6796f91d__ from "./index.module.js";
+ "import * as __WEBPACK_EXTERNAL_MODULE__index_module_js__ from "./index.module.js";
- __WEBPACK_EXTERNAL_MODULE__index_module_js_6796f91d__["default"];
+ __WEBPACK_EXTERNAL_MODULE__index_module_js__["default"];
"
❯ integration/redirect/stylePath.test.ts:23:28
|
|
This job was cancelled
Loading