Skip to content

Commit

Permalink
test(dist): fix test dist paths
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Aug 15, 2020
1 parent 98c85a7 commit 345e1cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/test/validate-build.ts
Expand Up @@ -13,12 +13,11 @@ const pkgs: TestPackage[] = [
{
// cli
packageJson: 'cli/package.json',
files: ['cli/index.js', 'cli/index.cjs.js'],
},
{
// compiler
packageJson: 'compiler/package.json',
files: ['compiler/stencil.js'],
files: ['compiler/lib.d.ts', 'compiler/lib.dom.d.ts', 'compiler/stencil.min.js'],
},
{
// dev-server
Expand Down Expand Up @@ -58,6 +57,7 @@ const pkgs: TestPackage[] = [
// internal
packageJson: 'internal/package.json',
files: [
'internal/stencil-core/index.cjs',
'internal/stencil-core/index.js',
'internal/stencil-core/index.d.ts',
'internal/stencil-ext-modules.d.ts',
Expand Down Expand Up @@ -206,7 +206,7 @@ function validateDts(opts: BuildOptions, dtsEntries: string[]) {

async function validateCompiler(opts: BuildOptions) {
const compilerPath = join(opts.output.compilerDir, 'stencil.js');
const cliPath = join(opts.output.cliDir, 'index.cjs.js');
const cliPath = join(opts.output.cliDir, 'index.cjs');
const sysNodePath = join(opts.output.sysNodeDir, 'index.js');

const compiler = await import(compilerPath);
Expand Down

0 comments on commit 345e1cb

Please sign in to comment.