Skip to content

Commit

Permalink
chore(infra/e2e): use package name rather than "../" (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoonIter authored Aug 5, 2024
1 parent 6ee69df commit 9ccc01d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions e2e/cases/dts/bundle/rslib.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { generateBundleCjsConfig, generateBundleEsmConfig } from '@e2e/helper';
import { defineConfig } from '@rslib/core';
import {
generateBundleCjsConfig,
generateBundleEsmConfig,
} from '../../../scripts/shared';

export default defineConfig({
lib: [
Expand Down
3 changes: 1 addition & 2 deletions e2e/scripts/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import {
mergeRsbuildConfig as mergeConfig,
} from '@rsbuild/core';
import type { LibConfig, RslibConfig } from '@rslib/core';
import { build } from '../../packages/core/src/build';
import { loadConfig } from '../../packages/core/src/config';
import { build, loadConfig } from '@rslib/core';
import { globContentJSON } from './helper';

export function generateBundleEsmConfig(
Expand Down

0 comments on commit 9ccc01d

Please sign in to comment.