Skip to content

Commit

Permalink
refactor: use dist file on deno
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Oct 20, 2023
1 parent 3aeb0a4 commit a0eecf9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/replaceDeps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ async function replaceDenoPlatform(playgroundPath: string) {
const denoConfig = JSON.parse(await fs.readFile(denoConfigPath, 'utf-8')) as {
imports: Record<string, unknown>
}
denoConfig['imports']['@intlify/utils'] = '../../src/index.ts'
denoConfig['imports']['cookie-es'] = 'npm:[email protected]'
denoConfig['imports']['@intlify/utils'] = '../../dist/index.mjs'

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

0 comments on commit a0eecf9

Please sign in to comment.