Skip to content

Commit

Permalink
perf: stories 파일 빌드에서 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
HelloWook committed Dec 29, 2024
1 parent e566b7c commit 449ff05
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 29 deletions.
35 changes: 7 additions & 28 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ import svgr from 'vite-plugin-svgr';
import viteCompression from 'vite-plugin-compression';

export default defineConfig({
build: {
rollupOptions: {
external: [/\.stories\.(t|j)sx?$/, /\.story\.(t|j)sx?$/]
}
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
Expand Down
23 changes: 22 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7870,7 +7870,7 @@ __metadata:
languageName: node
linkType: hard

"debug@npm:^4.3.3":
"debug@npm:^4.3.3, debug@npm:^4.3.5":
version: 4.4.0
resolution: "debug@npm:4.4.0"
dependencies:
Expand All @@ -7882,6 +7882,20 @@ __metadata:
languageName: node
linkType: hard

"decamelize@npm:^1.2.0":
version: 1.2.0
resolution: "decamelize@npm:1.2.0"
checksum: 10c0/85c39fe8fbf0482d4a1e224ef0119db5c1897f8503bcef8b826adff7a1b11414972f6fef2d7dec2ee0b4be3863cf64ac1439137ae9e6af23a3d8dcbe26a5b4b2
languageName: node
linkType: hard

"decimal.js@npm:10":
version: 10.4.3
resolution: "decimal.js@npm:10.4.3"
checksum: 10c0/6d60206689ff0911f0ce968d40f163304a6c1bc739927758e6efc7921cfa630130388966f16bf6ef6b838cb33679fbe8e7a78a2f3c478afce841fd55ac8fb8ee
languageName: node
linkType: hard

"decode-bmp@npm:^0.2.0":
version: 0.2.1
resolution: "decode-bmp@npm:0.2.1"
Expand Down Expand Up @@ -15167,6 +15181,13 @@ __metadata:
languageName: node
linkType: hard

"vary@npm:~1.1.2":
version: 1.1.2
resolution: "vary@npm:1.1.2"
checksum: 10c0/f15d588d79f3675135ba783c91a4083dcd290a2a5be9fcb6514220a1634e23df116847b1cc51f66bfb0644cf9353b2abb7815ae499bab06e46dd33c1a6bf1f4f
languageName: node
linkType: hard

"vite-plugin-compression@npm:^0.5.1":
version: 0.5.1
resolution: "vite-plugin-compression@npm:0.5.1"
Expand Down

0 comments on commit 449ff05

Please sign in to comment.