-
-
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.
ar(feat) DPCP-27 DPCP-28: Icon Button Size, Custom Protocol
- Loading branch information
1 parent
9e07e3b
commit 9f64035
Showing
2 changed files
with
51 additions
and
1 deletion.
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
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,50 @@ | ||
// vite.config.ts | ||
import eslint from "file:///Users/angeloreale/ar/dreampip/oneiros/node_modules/vite-plugin-eslint/dist/index.mjs"; | ||
import { defineConfig } from "file:///Users/angeloreale/ar/dreampip/oneiros/node_modules/vite/dist/node/index.js"; | ||
import react from "file:///Users/angeloreale/ar/dreampip/oneiros/node_modules/@vitejs/plugin-react/dist/index.mjs"; | ||
import dts from "file:///Users/angeloreale/ar/dreampip/oneiros/node_modules/vite-plugin-dts/dist/index.mjs"; | ||
|
||
// package.json | ||
var peerDependencies = { | ||
clsx: "2.1.0", | ||
lazysizes: "^5.3.2", | ||
react: "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
tailwindcss: "3.4.4", | ||
typescript: "5.4.5" | ||
}; | ||
|
||
// vite.config.ts | ||
var vite_config_default = defineConfig((env) => ({ | ||
build: { | ||
lib: { | ||
entry: "./src/index.ts", | ||
name: "vite-react-ts-button", | ||
fileName: (format) => `index.${format}.js`, | ||
formats: ["cjs", "es"] | ||
}, | ||
rollupOptions: { | ||
external: [...Object.keys(peerDependencies), "react/jsx-runtime"] | ||
}, | ||
sourcemap: true, | ||
emptyOutDir: true | ||
}, | ||
plugins: [ | ||
dts({ | ||
insertTypesEntry: true | ||
}), | ||
react({ fastRefresh: false }), | ||
env.mode !== "test" && eslint({ | ||
exclude: ["/virtual:/**", "node_modules/**", "/sb-preview/**"] | ||
}) | ||
], | ||
test: { | ||
globals: true, | ||
environment: "jsdom", | ||
setupFiles: "./setupTests.ts" | ||
} | ||
})); | ||
export { | ||
vite_config_default as default | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiLCAicGFja2FnZS5qc29uIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZGlybmFtZSA9IFwiL1VzZXJzL2FuZ2Vsb3JlYWxlL2FyL2RyZWFtcGlwL29uZWlyb3NcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIi9Vc2Vycy9hbmdlbG9yZWFsZS9hci9kcmVhbXBpcC9vbmVpcm9zL3ZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9Vc2Vycy9hbmdlbG9yZWFsZS9hci9kcmVhbXBpcC9vbmVpcm9zL3ZpdGUuY29uZmlnLnRzXCI7Ly8vIDxyZWZlcmVuY2UgdHlwZXM9J3ZpdGVzdCcgLz5cbmltcG9ydCBlc2xpbnQgZnJvbSAndml0ZS1wbHVnaW4tZXNsaW50JztcbmltcG9ydCB7IGRlZmluZUNvbmZpZyB9IGZyb20gJ3ZpdGUnO1xuaW1wb3J0IHJlYWN0IGZyb20gJ0B2aXRlanMvcGx1Z2luLXJlYWN0JztcbmltcG9ydCBkdHMgZnJvbSAndml0ZS1wbHVnaW4tZHRzJztcbmltcG9ydCB7IHBlZXJEZXBlbmRlbmNpZXMgfSBmcm9tICcuL3BhY2thZ2UuanNvbic7XG5cbmV4cG9ydCBkZWZhdWx0IGRlZmluZUNvbmZpZygoZW52KSA9PiAoe1xuICBidWl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