@lotte-innovate/ui-component-test 0.2.15 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/post-tinymce.js +4 -3
package/package.json
CHANGED
package/post-tinymce.js
CHANGED
@@ -4,11 +4,12 @@ import { fileURLToPath } from 'url';
|
|
4
4
|
|
5
5
|
const __filename = fileURLToPath(import.meta.url);
|
6
6
|
const __dirname = path.dirname(__filename);
|
7
|
+
const projectRoot = process.cwd();
|
7
8
|
|
8
|
-
const sourceFile = path.join(__dirname, 'public/tinymce/skins/ui/oxide/content.min.css');
|
9
|
-
const destinationFile = path.join(
|
9
|
+
const sourceFile = path.join(__dirname, '../public/tinymce/skins/ui/oxide/content.min.css');
|
10
|
+
const destinationFile = path.join(projectRoot, 'public/tinymce/skins/ui/oxide/content.min.css');
|
10
11
|
|
11
|
-
console.log(
|
12
|
+
console.log(`현재 작업 디렉토리: ${projectRoot}`);
|
12
13
|
|
13
14
|
// sourceDir이 존재하지 않으면 로직 중단
|
14
15
|
if (!fs.existsSync(sourceFile)) {
|