Skip to content

Commit

Permalink
fix: wow-ui 롤업 배포 절대 경로 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdtjgus76 committed May 6, 2024
1 parent 96d1e18 commit 69b2afa
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 20 deletions.
1 change: 1 addition & 0 deletions packages/wow-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@rollup/plugin-alias": "^5.1.0",
"next": "^14.1.1"
},
"bugs": {
Expand Down
10 changes: 10 additions & 0 deletions packages/wow-ui/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import url from "rollup-plugin-url";
import peerDepsExternal from "rollup-plugin-peer-deps-external";
import terser from "@rollup/plugin-terser";
import json from "@rollup/plugin-json";
import alias from "@rollup/plugin-alias";

const extensions = [".js", ".jsx", ".ts", ".tsx"];

Expand All @@ -25,6 +26,15 @@ export default {
],
external: ["react/jsx-runtime"],
plugins: [
alias({
entries: [{ find: "@", replacement: "./src" }],
entries: [
{
find: "@styled-system",
replacement: "./styled-system",
},
],
}),
peerDepsExternal(),
resolve({ extensions }),
commonjs({
Expand Down
36 changes: 16 additions & 20 deletions pnpm-lock.yaml

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

0 comments on commit 69b2afa

Please sign in to comment.