@junnyontop-pixel/neo-app 1.1.0 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/index.js +3 -1
- package/package.json +9 -1
- package/src/App.js +3 -1
package/compiler/index.js
CHANGED
|
@@ -44,7 +44,9 @@ function generateCode(node) {
|
|
|
44
44
|
|
|
45
45
|
// compiler/index.js 내부
|
|
46
46
|
const finalJS = `
|
|
47
|
-
|
|
47
|
+
// 상대 경로 대신 패키지 이름을 직접 사용합니다.
|
|
48
|
+
// Vite가 node_modules에서 알아서 찾아줍니다.
|
|
49
|
+
import { h } from '@junnyontop-pixel/neo-app/core/NeoCore.js';
|
|
48
50
|
|
|
49
51
|
// [User Script]
|
|
50
52
|
${scriptContent}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@junnyontop-pixel/neo-app",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "나만의 커스텀 프레임워크 Neo",
|
|
5
5
|
"main": "core/NeoCore.js",
|
|
6
6
|
"type": "module",
|
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
"neoc": "./compiler/index.js",
|
|
9
9
|
"neoc-init": "./scripts/init.js"
|
|
10
10
|
},
|
|
11
|
+
"files": [
|
|
12
|
+
"compiler",
|
|
13
|
+
"core",
|
|
14
|
+
"scripts",
|
|
15
|
+
"index.html",
|
|
16
|
+
"src",
|
|
17
|
+
"README.md"
|
|
18
|
+
],
|
|
11
19
|
"scripts": {
|
|
12
20
|
"prepare": "node compiler/index.js src/App.neo",
|
|
13
21
|
"build": "node compiler/index.js src/App.neo",
|
package/src/App.js
CHANGED