Skip to content

Commit 4387f60

Browse files
authored
Update npm/webpack-dev-server/src/helpers/angularHandler.ts
1 parent e5d4bb6 commit 4387f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm/webpack-dev-server/src/helpers/angularHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export async function getAngularCliModules (projectRoot: string) {
184184
] = await Promise.all(angularCLiModules.map(async (dep) => {
185185
try {
186186
const depPath = require.resolve(dep, { paths: [projectRoot] })
187-
// NOTE: @cypress/webpack-dev-server is a CJS package, but we need to import some ESM files and absolute imports .
187+
// NOTE: @cypress/webpack-dev-server is a CJS package, but we need to import some ESM files and absolute imports.
188188
// since import statements in TypeScript will get transpiled down to CommonJS require statements, we want to use tsx to leverage
189189
// an ESM style import here, which supports CommonJS and ESM.
190190
const { tsImport } = require('tsx/esm/api')

0 commit comments

Comments
 (0)