Skip to content

Commit

Permalink
build test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanna922 committed May 27, 2024
1 parent cf273cb commit 0552f00
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build": "pnpm -r run build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
"lint-staged": "lint-staged",
"prepublishOnly": "npm run build",
"preview": "vite preview",
"ci:version": "changeset version",
"ci:publish": "pnpm publish -r",
"logging-system": "pnpm --filter @yourssu/logging-system-react",
"utils": "pnpm --filter @yourssu/utils",
Expand Down
3 changes: 2 additions & 1 deletion packages/logging-system/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ export default defineConfig({
react(),
dts({
insertTypesEntry: true,
outDir: path.resolve(__dirname, 'dist/types'),
}),
tsconfigPaths({
projects: [path.resolve(__dirname, 'tsconfig.json')],
}),
],
build: {
lib: {
entry: path.resolve(__dirname, 'src/index.ts'),
entry: path.resolve(__dirname, './src/index.ts'),
name: '@yourssu/logging-system-react',
formats: ['es', 'cjs'],
fileName: (format) => `index.${format}.js`,
Expand Down
6 changes: 0 additions & 6 deletions vite.config.ts

This file was deleted.

0 comments on commit 0552f00

Please sign in to comment.