From 5026c25de29996b3ad555a758f9a6065f8aced39 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 19 Feb 2025 09:39:32 +0100 Subject: [PATCH] fix loading typescript file in template --- libs/remix-ws-templates/src/templates/multiplierNoir/index.ts | 2 +- libs/remix-ws-templates/src/templates/stealthdropNoir/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-ws-templates/src/templates/multiplierNoir/index.ts b/libs/remix-ws-templates/src/templates/multiplierNoir/index.ts index af2eb7409c..d316c54802 100644 --- a/libs/remix-ws-templates/src/templates/multiplierNoir/index.ts +++ b/libs/remix-ws-templates/src/templates/multiplierNoir/index.ts @@ -7,6 +7,6 @@ export default async () => { // @ts-ignore 'README.md': (await import('raw-loader!./README.md')).default, // @ts-ignore - 'tests/multiplier.test.ts': (await import('raw-loader!./tests/multiplier.test.ts')).default + 'tests/multiplier.test.ts': (await import('!!raw-loader!./tests/multiplier.test.ts')).default } } \ No newline at end of file diff --git a/libs/remix-ws-templates/src/templates/stealthdropNoir/index.ts b/libs/remix-ws-templates/src/templates/stealthdropNoir/index.ts index c6da9f7123..b2d25f1fe3 100644 --- a/libs/remix-ws-templates/src/templates/stealthdropNoir/index.ts +++ b/libs/remix-ws-templates/src/templates/stealthdropNoir/index.ts @@ -7,6 +7,6 @@ export default async () => { // @ts-ignore 'README.md': (await import('raw-loader!./README.md')).default, // @ts-ignore - 'tests/stealthdrop.test.ts': (await import('raw-loader!./tests/stealthdrop.test.ts')).default + 'tests/stealthdrop.test.ts': (await import('!!raw-loader!./tests/stealthdrop.test.ts')).default } } \ No newline at end of file