Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonghakseo committed Mar 10, 2024
1 parent f93818a commit dbf4ee2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 37 deletions.
1 change: 1 addition & 0 deletions packages/hmr-old/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"private": true,
"sideEffects": true,
"files": [
"dist/**",
"build/injections/script.js",
"build/injections/view.js",
"build/injections/refresh.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/newtab/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default defineConfig({
},
},
base: '',
plugins: [react(), watchRebuildPlugin()],
plugins: [react(), isDev && watchRebuildPlugin()],
publicDir: resolve(rootDir, 'public'),
build: {
outDir: resolve(rootDir, '..', '..', 'dist', 'newtab'),
Expand Down
30 changes: 0 additions & 30 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"dev": {
"dependsOn": ["^build"],
"dependsOn": [
"^build"
],
"cache": false,
"persistent": true
},
"build": {
"dependsOn": ["clean"],
"outputs": [
"dist/**", "build/**"
]
"dependsOn": ["clean", "^clean", "^build"],
"outputs": ["dist/**", "build/**"]
},
"type-check": {
"cache": false
Expand All @@ -25,7 +25,9 @@
"cache": false
},
"test": {
"dependsOn": ["^test"]
"dependsOn": [
"^test"
]
},
"clean": {
}
Expand Down

0 comments on commit dbf4ee2

Please sign in to comment.