Skip to content

Commit

Permalink
Add react plugin and prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
rushi committed Nov 1, 2023
1 parent d13dbaf commit dbc2f7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"lint:fix": "xola-lint src --ignore src/stories --fix=true",
"lint:report": "xola-lint --reporter=json src > eslint_report.json",
"test": "jest",
"build": "npm run prepare && npx tsc && vite build",
"build": "node scripts/prepare && npx tsc && vite build",
"build:storybook": "npm run prepare && storybook build"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const dependencies = Object.keys(pkg.dependencies);
const devDependencies = Object.keys(pkg.devDependencies);

export default defineConfig({
plugins: [dts({ rollupTypes: true, copyDtsFiles: true })],
plugins: [react(), dts({ rollupTypes: true, copyDtsFiles: true })],
build: {
copyPublicDir: false,
outDir: "build",
Expand Down

0 comments on commit dbc2f7e

Please sign in to comment.