Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed May 18, 2023
1 parent bea8923 commit 2b8098c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions libs/zhi-device/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ import { join } from "path"
import { viteStaticCopy } from "vite-plugin-static-copy"
// import viteTsConfigPaths from "vite-tsconfig-paths"
import dts from "vite-plugin-dts"
import noBundlePlugin from "vite-plugin-no-bundle"

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
noBundlePlugin(),

dts({
entryRoot: "src",
tsConfigFilePath: join(__dirname, "tsconfig.json"),
Expand Down Expand Up @@ -47,6 +44,7 @@ export default defineConfig({
lib: {
// Could also be a dictionary or array of multiple entry points.
entry: "src/index.ts",
name: "zhiDevice",
fileName: "index",
// Change this to the formats you want to support.
// Don't forgot to update your package.json as well.
Expand Down
3 changes: 0 additions & 3 deletions libs/zhi-env/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ import { join } from "path"
import { viteStaticCopy } from "vite-plugin-static-copy"
// import viteTsConfigPaths from "vite-tsconfig-paths"
import dts from "vite-plugin-dts"
import noBundlePlugin from "vite-plugin-no-bundle"

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
noBundlePlugin(),

dts({
entryRoot: "src",
tsConfigFilePath: join(__dirname, "tsconfig.json"),
Expand Down
3 changes: 1 addition & 2 deletions libs/zhi-publisher-sdk/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
import { resolve } from "path"
import { defineConfig } from "vite"
import dts from "vite-plugin-dts"
import noBundlePlugin from "vite-plugin-no-bundle"

export default defineConfig({
plugins: [noBundlePlugin(), dts()],
plugins: [dts()],

build: {
lib: {
Expand Down

0 comments on commit 2b8098c

Please sign in to comment.