fix: resource plugin transformInclude for webpack and rspack #3
Annotations
5 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/[email protected][email protected]/node_modules/webpack/lib/Compiler.js:496:32
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/webpack/lib/Compiler.js:574:17
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/webpack/lib/HookWebpackError.js:68:3
❯ Hook.eval [as callAsync] node_modules/.pnpm/[email protected]/node_modules/tapable/lib/HookCodeFactory.js:33:10
❯ Hook.CALL_ASYNC_DELEGATE [as _callAsync] node_modules/.pnpm/[email protected]/node_modules/tapable/lib/Hook.js:18:14
❯ Cache.storeBuildDependencies node_modules/.pnpm/[email protected][email protected]/node_modules/webpack/lib/Cache.js:128:37
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/webpack/lib/Compiler.js:570:19
❯ Hook.eval [as callAsync] node_modules/.pnpm/[email protected]/node_modules/tapable/lib/HookCodeFactory.js:33:10
❯ Hook.CALL_ASYNC_DELEGATE [as _callAsync] node_modules/.pnpm/[email protected]/node_modules/tapable/lib/Hook.js:18:14
|
The logs for this run have expired and are no longer available.
Loading