Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 5d4fe17

Browse files
committed
feat(CICD): src to dist
1 parent 1e3434e commit 5d4fe17

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

compiler/src/clean-up.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { writeFileSync } from 'fs';
22
import { join } from 'path';
33

44
export const cleanUp = async () => {
5-
const styleFilePath = join(__dirname, '../../src/core/styles/style.module.css');
6-
const globalFilePath = join(__dirname, '../../src/core/styles/style.module.css');
5+
const styleFilePath = join(__dirname, '../../dist/core/styles/style.module.css');
6+
const globalFilePath = join(__dirname, '../../dist/core/styles/style.module.css');
77
try {
88
writeFileSync(styleFilePath, '/*______________________________*/', 'utf-8');
99
writeFileSync(globalFilePath, '/*______________________________*/', 'utf-8');

compiler/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import * as fs from 'fs';
33
import ts from 'typescript';
44
import { globby } from 'globby';
55
import { cleanUp } from './clean-up';
6-
import { createBuildIn } from '../../src/core/method/create-build-in-helper.js';
7-
import { setBuildIn } from '../../src/core/method/set-build-in-helper.js';
8-
import { globalBuildIn } from '../../src/core/method/global-build-in-helper.js';
9-
import { rootBuildIn } from '../../src/core/method/root-build-in-helper.js';
6+
import { createBuildIn } from '../../dist/core/method/create-build-in-helper.js';
7+
import { setBuildIn } from '../../dist/core/method/set-build-in-helper.js';
8+
import { globalBuildIn } from '../../dist/core/method/global-build-in-helper.js';
9+
import { rootBuildIn } from '../../dist/core/method/root-build-in-helper.js';
1010

1111
function isCSSX(filePath: string): boolean {
1212
const content = fs.readFileSync(filePath, 'utf8');

next/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { ServerStylePreview } from '../src/core/component/server-style-preview';
1+
export { ServerStylePreview } from '../dist/core/component/server-style-preview';

0 commit comments

Comments
 (0)