@liner-fe/illust 0.1.2 → 0.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/CHANGELOG.md +6 -0
- package/package.json +4 -19
- package/config/tsup/tsup.config.ts +0 -25
- package/lib/index.cjs +0 -3064
- package/lib/index.d.mts +0 -31
- package/lib/index.d.ts +0 -31
- package/lib/index.js +0 -3060
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,32 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liner-fe/illust",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"build": "
|
|
5
|
+
"build": ""
|
|
6
6
|
},
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"publishConfig": {
|
|
9
|
-
"access": "public"
|
|
10
|
-
"main": "./lib/index.js"
|
|
9
|
+
"access": "public"
|
|
11
10
|
},
|
|
12
11
|
"files": [
|
|
13
12
|
"*"
|
|
14
13
|
],
|
|
15
|
-
"main": "./
|
|
16
|
-
"module": "./lib/index.js",
|
|
17
|
-
"types": "./lib/index.d.ts",
|
|
18
|
-
"exports": {
|
|
19
|
-
".": {
|
|
20
|
-
"import": {
|
|
21
|
-
"types": "./lib/index.d.ts",
|
|
22
|
-
"default": "./lib/index.js"
|
|
23
|
-
},
|
|
24
|
-
"require": {
|
|
25
|
-
"types": "./lib/index.d.ts",
|
|
26
|
-
"default": "./lib/index.cjs"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
14
|
+
"main": "./src/index.ts",
|
|
30
15
|
"dependencies": {
|
|
31
16
|
"@liner-fe/design-token": "workspace:^",
|
|
32
17
|
"react": "^18.2.0",
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'tsup';
|
|
2
|
-
import { nodeExternalsPlugin } from 'esbuild-node-externals';
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
entry: ['src/index.ts'],
|
|
6
|
-
outDir: 'lib',
|
|
7
|
-
// 이거는 무슨 옵션일까?
|
|
8
|
-
// splitting: false,
|
|
9
|
-
format: ['cjs', 'esm'],
|
|
10
|
-
outExtension({ format }) {
|
|
11
|
-
return {
|
|
12
|
-
js: format === 'cjs' ? '.cjs' : '.js',
|
|
13
|
-
dts: '.d.ts',
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
bundle: true,
|
|
17
|
-
minify: false,
|
|
18
|
-
keepNames: true,
|
|
19
|
-
jsxFactory: 'React.createElement',
|
|
20
|
-
jsxFragment: 'Fragment',
|
|
21
|
-
tsconfig: './tsconfig.build.json',
|
|
22
|
-
platform: 'neutral',
|
|
23
|
-
dts: true,
|
|
24
|
-
esbuildPlugins: [nodeExternalsPlugin()],
|
|
25
|
-
});
|