Skip to content

Commit

Permalink
Fix tiny config stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dostuffthatmatters committed Dec 8, 2021
1 parent f0af66f commit ac9a445
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "UNLICENSED",
"scripts": {
"develop": "vite --host",
"build": "VITE_COMMIT_SHA=\"$(git rev-parse --short --verify HEAD)\" && tsc && vite build",
"build": "export VITE_COMMIT_SHA=\"$(git rev-parse --short --verify HEAD)\" && tsc && vite build",
"serve": "vite preview",
"analyze": "source-map-explorer 'dist/assets/*.js'",
"cypress:integration": "cypress open",
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function Footer() {
}
>
<p className='w-48 px-4 text-sm text-center'>
&copy; 2021 FastSurvey
&copy; {new Date().getFullYear()} FastSurvey
</p>
<div className='flex-max' />
{navigation.social.map((item) => (
Expand Down
3 changes: 3 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ export default defineConfig({
'/src': path.resolve(__dirname, 'src'),
},
},
build: {
sourcemap: true,
},
});

0 comments on commit ac9a445

Please sign in to comment.