Skip to content

Commit

Permalink
fix: replace removed Node.js type
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Jan 28, 2022
1 parent ea376b8 commit e58b268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bundler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { join, normalize, resolve, posix, PlatformPath } from 'path';
import { join, normalize, resolve, posix } from 'path';
import {
BundlingOptions,
DockerImage,
Expand Down Expand Up @@ -140,7 +140,7 @@ export class EsbuildBundler {

private getOutputOptions(
cdkOutputDir: string,
path: Pick<PlatformPath, 'normalize' | 'join'> = posix,
path: Pick<typeof posix, 'normalize' | 'join'> = posix,
): BuildOptions {
if (this.props?.buildOptions?.outfile) {
return {
Expand Down

0 comments on commit e58b268

Please sign in to comment.