-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from ssi02014/dev
Dev
- Loading branch information
Showing
4 changed files
with
161 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ tsconfig.paths.json | |
.eslintrc.js | ||
webpack.*.js | ||
babel.config.js | ||
rollup.config.mjs | ||
|
||
# storybook | ||
stories | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import nodeResolve from '@rollup/plugin-node-resolve'; | ||
import babel from '@rollup/plugin-babel'; | ||
import { terser } from 'rollup-plugin-terser'; | ||
import typescript from '@rollup/plugin-typescript'; | ||
import commonjs from '@rollup/plugin-commonjs'; | ||
import pkg from './package.json' assert { type: 'json' }; | ||
|
||
const extensions = ['.js', '.jsx', '.ts', '.tsx']; | ||
|
||
export default { | ||
input: './src/index.tsx', // 진입 경로 | ||
output: [ | ||
{ | ||
file: pkg.main, | ||
format: 'esm', | ||
sourcemap: false, | ||
}, | ||
], | ||
external: ['react'], | ||
plugins: [ | ||
commonjs(), | ||
nodeResolve({ | ||
extensions, | ||
}), | ||
babel({ | ||
exclude: /node_modules/, | ||
extensions, | ||
include: ['src/**/*'], | ||
}), | ||
typescript({ tsconfig: './tsconfig.json' }), | ||
terser({ | ||
ecma: 5, | ||
module: true, | ||
toplevel: true, | ||
safari10: true, | ||
}), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1750,7 +1750,7 @@ | |
"@jridgewell/gen-mapping" "^0.3.0" | ||
"@jridgewell/trace-mapping" "^0.3.9" | ||
|
||
"@jridgewell/[email protected]", "@jridgewell/sourcemap-codec@^1.4.10": | ||
"@jridgewell/[email protected]", "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13": | ||
version "1.4.14" | ||
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" | ||
integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== | ||
|
@@ -1888,6 +1888,26 @@ | |
"@babel/helper-module-imports" "^7.10.4" | ||
"@rollup/pluginutils" "^3.1.0" | ||
|
||
"@rollup/plugin-babel@^6.0.3": | ||
version "6.0.3" | ||
resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-6.0.3.tgz#07ccde15de278c581673034ad6accdb4a153dfeb" | ||
integrity sha512-fKImZKppa1A/gX73eg4JGo+8kQr/q1HBQaCGKECZ0v4YBBv3lFqi14+7xyApECzvkLTHCifx+7ntcrvtBIRcpg== | ||
dependencies: | ||
"@babel/helper-module-imports" "^7.18.6" | ||
"@rollup/pluginutils" "^5.0.1" | ||
|
||
"@rollup/plugin-commonjs@^24.0.1": | ||
version "24.0.1" | ||
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-24.0.1.tgz#d54ba26a3e3c495dc332bd27a81f7e9e2df46f90" | ||
integrity sha512-15LsiWRZk4eOGqvrJyu3z3DaBu5BhXIMeWnijSRvd8irrrg9SHpQ1pH+BUK4H6Z9wL9yOxZJMTLU+Au86XHxow== | ||
dependencies: | ||
"@rollup/pluginutils" "^5.0.1" | ||
commondir "^1.0.1" | ||
estree-walker "^2.0.2" | ||
glob "^8.0.3" | ||
is-reference "1.2.1" | ||
magic-string "^0.27.0" | ||
|
||
"@rollup/plugin-node-resolve@^11.2.1": | ||
version "11.2.1" | ||
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz#82aa59397a29cd4e13248b106e6a4a1880362a60" | ||
|
@@ -1900,6 +1920,18 @@ | |
is-module "^1.0.0" | ||
resolve "^1.19.0" | ||
|
||
"@rollup/plugin-node-resolve@^15.0.1": | ||
version "15.0.1" | ||
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.0.1.tgz#72be449b8e06f6367168d5b3cd5e2802e0248971" | ||
integrity sha512-ReY88T7JhJjeRVbfCyNj+NXAG3IIsVMsX9b5/9jC98dRP8/yxlZdz7mHZbHk5zHr24wZZICS5AcXsFZAXYUQEg== | ||
dependencies: | ||
"@rollup/pluginutils" "^5.0.1" | ||
"@types/resolve" "1.20.2" | ||
deepmerge "^4.2.2" | ||
is-builtin-module "^3.2.0" | ||
is-module "^1.0.0" | ||
resolve "^1.22.1" | ||
|
||
"@rollup/plugin-replace@^2.4.1": | ||
version "2.4.2" | ||
resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz#a2d539314fbc77c244858faa523012825068510a" | ||
|
@@ -1908,6 +1940,14 @@ | |
"@rollup/pluginutils" "^3.1.0" | ||
magic-string "^0.25.7" | ||
|
||
"@rollup/plugin-typescript@^11.0.0": | ||
version "11.0.0" | ||
resolved "https://registry.yarnpkg.com/@rollup/plugin-typescript/-/plugin-typescript-11.0.0.tgz#f136272d1df5209daca0cb6f171c574b1d505545" | ||
integrity sha512-goPyCWBiimk1iJgSTgsehFD5OOFHiAknrRJjqFCudcW8JtWiBlK284Xnn4flqMqg6YAjVG/EE+3aVzrL5qNSzQ== | ||
dependencies: | ||
"@rollup/pluginutils" "^5.0.1" | ||
resolve "^1.22.1" | ||
|
||
"@rollup/pluginutils@^3.1.0": | ||
version "3.1.0" | ||
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" | ||
|
@@ -1917,6 +1957,15 @@ | |
estree-walker "^1.0.1" | ||
picomatch "^2.2.2" | ||
|
||
"@rollup/pluginutils@^5.0.1": | ||
version "5.0.2" | ||
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz#012b8f53c71e4f6f9cb317e311df1404f56e7a33" | ||
integrity sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA== | ||
dependencies: | ||
"@types/estree" "^1.0.0" | ||
estree-walker "^2.0.2" | ||
picomatch "^2.3.1" | ||
|
||
"@rushstack/eslint-patch@^1.1.0": | ||
version "1.2.0" | ||
resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728" | ||
|
@@ -3144,7 +3193,7 @@ | |
"@types/estree" "*" | ||
"@types/json-schema" "*" | ||
|
||
"@types/estree@*": | ||
"@types/estree@*", "@types/estree@^1.0.0": | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2" | ||
integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ== | ||
|
@@ -3380,6 +3429,11 @@ | |
dependencies: | ||
"@types/node" "*" | ||
|
||
"@types/[email protected]": | ||
version "1.20.2" | ||
resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.2.tgz#97d26e00cd4a0423b4af620abecf3e6f442b7975" | ||
integrity sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q== | ||
|
||
"@types/[email protected]": | ||
version "0.12.0" | ||
resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" | ||
|
@@ -5092,7 +5146,7 @@ buffer@^4.3.0: | |
ieee754 "^1.1.4" | ||
isarray "^1.0.0" | ||
|
||
builtin-modules@^3.1.0: | ||
builtin-modules@^3.1.0, builtin-modules@^3.3.0: | ||
version "3.3.0" | ||
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" | ||
integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== | ||
|
@@ -7091,6 +7145,11 @@ estree-walker@^1.0.1: | |
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" | ||
integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== | ||
|
||
estree-walker@^2.0.2: | ||
version "2.0.2" | ||
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" | ||
integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== | ||
|
||
esutils@^2.0.2: | ||
version "2.0.3" | ||
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" | ||
|
@@ -7818,6 +7877,17 @@ glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, gl | |
once "^1.3.0" | ||
path-is-absolute "^1.0.0" | ||
|
||
glob@^8.0.3: | ||
version "8.1.0" | ||
resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" | ||
integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== | ||
dependencies: | ||
fs.realpath "^1.0.0" | ||
inflight "^1.0.4" | ||
inherits "2" | ||
minimatch "^5.0.1" | ||
once "^1.3.0" | ||
|
||
global-modules@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" | ||
|
@@ -8582,6 +8652,13 @@ is-buffer@^2.0.0: | |
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" | ||
integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== | ||
|
||
is-builtin-module@^3.2.0: | ||
version "3.2.1" | ||
resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.2.1.tgz#f03271717d8654cfcaf07ab0463faa3571581169" | ||
integrity sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A== | ||
dependencies: | ||
builtin-modules "^3.3.0" | ||
|
||
is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: | ||
version "1.2.7" | ||
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" | ||
|
@@ -8809,6 +8886,13 @@ is-potential-custom-element-name@^1.0.1: | |
resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" | ||
integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== | ||
|
||
[email protected]: | ||
version "1.2.1" | ||
resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" | ||
integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== | ||
dependencies: | ||
"@types/estree" "*" | ||
|
||
is-regex@^1.1.2, is-regex@^1.1.4: | ||
version "1.1.4" | ||
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" | ||
|
@@ -9972,6 +10056,13 @@ magic-string@^0.25.0, magic-string@^0.25.7: | |
dependencies: | ||
sourcemap-codec "^1.4.8" | ||
|
||
magic-string@^0.27.0: | ||
version "0.27.0" | ||
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.27.0.tgz#e4a3413b4bab6d98d2becffd48b4a257effdbbf3" | ||
integrity sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA== | ||
dependencies: | ||
"@jridgewell/sourcemap-codec" "^1.4.13" | ||
|
||
make-dir@^2.0.0, make-dir@^2.1.0: | ||
version "2.1.0" | ||
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" | ||
|
@@ -12668,7 +12759,7 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: | |
hash-base "^3.0.0" | ||
inherits "^2.0.1" | ||
|
||
rollup-plugin-terser@^7.0.0: | ||
rollup-plugin-terser@^7.0.0, rollup-plugin-terser@^7.0.2: | ||
version "7.0.2" | ||
resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d" | ||
integrity sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ== | ||
|
@@ -12685,6 +12776,13 @@ rollup@^2.43.1: | |
optionalDependencies: | ||
fsevents "~2.3.2" | ||
|
||
rollup@^3.17.2: | ||
version "3.17.2" | ||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.17.2.tgz#a4ecd29c488672a0606e41ef57474fad715750a9" | ||
integrity sha512-qMNZdlQPCkWodrAZ3qnJtvCAl4vpQ8q77uEujVCCbC/6CLB7Lcmvjq7HyiOSnf4fxTT9XgsE36oLHJBH49xjqA== | ||
optionalDependencies: | ||
fsevents "~2.3.2" | ||
|
||
rsvp@^4.8.4: | ||
version "4.8.5" | ||
resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734" | ||
|