fix: resource plugin transformInclude for webpack and rspack #3
Annotations
6 errors
|
packages/unplugin-vue-i18n/test/custom-block.test.ts#L235
Error: Snapshot `global scope and import 1` mismatched
- Expected
+ Received
- [
- {
- "locale": "",
- "resource": {
- "en": {
- "hello": {
- "body": {
- "end": 12,
- "items": [
- {
- "end": 12,
- "loc": {
- "end": {
- "column": 13,
- "line": 1,
- "offset": 12,
- },
- "start": {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "start": 0,
- "type": 3,
- },
- ],
- "loc": {
- "end": {
- "column": 13,
- "line": 1,
- "offset": 12,
- },
- "start": {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "start": 0,
- "static": "hello world!",
- "type": 2,
- },
- "end": 12,
- "loc": {
- "end": {
- "column": 13,
- "line": 1,
- "offset": 12,
- },
- "source": "hello world!",
- "start": {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "start": 0,
- "type": 0,
- },
- },
- },
- },
- ]
+ undefined
❯ packages/unplugin-vue-i18n/test/custom-block.test.ts:235:31
|
packages/unplugin-vue-i18n/test/custom-block.test.ts#L170
Error: Snapshot `locale attr and import 1` mismatched
- Expected
+ Received
- [
- {
- "locale": "en",
- "resource": {
- "hello": {
- "body": {
- "end": 12,
- "items": [
- {
- "end": 12,
- "loc": {
- "end": {
- "column": 13,
- "line": 1,
- "offset": 12,
- },
- "start": {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "start": 0,
- "type": 3,
- },
- ],
- "loc": {
- "end": {
- "column": 13,
- "line": 1,
- "offset": 12,
- },
- "start": {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "start": 0,
- "static": "hello world!",
- "type": 2,
- },
- "end": 12,
- "loc": {
- "end": {
- "column": 13,
- "line": 1,
- "offset": 12,
- },
- "source": "hello world!",
- "start": {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "start": 0,
- "type": 0,
- },
- },
- },
- ]
+ undefined
❯ packages/unplugin-vue-i18n/test/custom-block.test.ts:170:25
|
packages/unplugin-vue-i18n/test/custom-block.test.ts#L115
Error: Snapshot `import 1` mismatched
- Expected
+ Received
- [
- {
- "locale": "",
- "resource": {
- "en": {
- "hello": {
- "body": {
- "end": 12,
- "items": [
- {
- "end": 12,
- "loc": {
- "end": {
- "column": 13,
- "line": 1,
- "offset": 12,
- },
- "start": {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "start": 0,
- "type": 3,
- },
- ],
- "loc": {
- "end": {
- "column": 13,
- "line": 1,
- "offset": 12,
- },
- "start": {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "start": 0,
- "static": "hello world!",
- "type": 2,
- },
- "end": 12,
- "loc": {
- "end": {
- "column": 13,
- "line": 1,
- "offset": 12,
- },
- "source": "hello world!",
- "start": {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "start": 0,
- "type": 0,
- },
- },
- },
- },
- ]
+ undefined
❯ packages/unplugin-vue-i18n/test/custom-block.test.ts:115:25
|
packages/unplugin-vue-i18n/test/utils.ts#L171
Error: [object Object]
❯ packages/unplugin-vue-i18n/test/utils.ts:171:23
❯ finalCallback node_modules/.pnpm/@rspack[email protected]/node_modules/@rspack/core/dist/index.js:14959:9
❯ node_modules/.pnpm/@rspack[email protected]/node_modules/@rspack/core/dist/index.js:14991:16
❯ done node_modules/.pnpm/@rspack[email protected]/node_modules/@rspack/lite-tapable/dist/index.js:473:13
❯ AsyncSeriesHook.callAsyncStageRange node_modules/.pnpm/@rspack[email protected]/node_modules/@rspack/lite-tapable/dist/index.js:480:20
❯ AsyncSeriesHook.callAsync node_modules/.pnpm/@rspack[email protected]/node_modules/@rspack/lite-tapable/dist/index.js:82:21
❯ onCompiled node_modules/.pnpm/@rspack[email protected]/node_modules/@rspack/core/dist/index.js:14987:23
❯ node_modules/.pnpm/@rspack[email protected]/node_modules/@rspack/core/dist/index.js:15149:18
❯ done node_modules/.pnpm/@rspack[email protected]/node_modules/@rspack/lite-tapable/dist/index.js:473:13
❯ AsyncSeriesHook.callAsyncStageRange node_modules/.pnpm/@rspack[email protected]/node_modules/@rspack/lite-tapable/dist/index.js:480:20
|
|
The logs for this run have expired and are no longer available.
Loading