Skip to content

Commit

Permalink
fix: 롤업 설정 절대 경로 세팅 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdtjgus76 committed May 6, 2024
1 parent 69b2afa commit 7dd9e1a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ 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";
import path from "path";

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

Expand All @@ -27,11 +28,11 @@ export default {
external: ["react/jsx-runtime"],
plugins: [
alias({
entries: [{ find: "@", replacement: "./src" }],
entries: [{ find: "@", replacement: path.join(__dirname, "./src") }],
entries: [
{
find: "@styled-system",
replacement: "./styled-system",
replacement: path.join(__dirname, "./styled-system"),
},
],
}),
Expand Down

0 comments on commit 7dd9e1a

Please sign in to comment.