Skip to content

Commit a0eecf9

Browse files
committed
refactor: use dist file on deno
1 parent 3aeb0a4 commit a0eecf9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/replaceDeps.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ async function replaceDenoPlatform(playgroundPath: string) {
3535
const denoConfig = JSON.parse(await fs.readFile(denoConfigPath, 'utf-8')) as {
3636
imports: Record<string, unknown>
3737
}
38-
denoConfig['imports']['@intlify/utils'] = '../../src/index.ts'
39-
denoConfig['imports']['cookie-es'] = 'npm:[email protected]'
38+
denoConfig['imports']['@intlify/utils'] = '../../dist/index.mjs'
4039

4140
await fs.writeFile(denoConfigPath, JSON.stringify(denoConfig), 'utf-8')
4241
return true

0 commit comments

Comments
 (0)