Compare commits

..

No commits in common. "c9aefe7ecfcdb9b9988176f3f0a9dd4290b3a7f6" and "cde0eb194318b25a6c6bbf0b01fc3571a4fe4fe9" have entirely different histories.

4 changed files with 5 additions and 5 deletions

View file

@ -56,7 +56,7 @@ deploy_preprod:
build_prod:
stage: build
only:
- main
- prod
image: composer:2
script:
- apk add --no-cache nodejs npm

View file

@ -159,7 +159,7 @@ class ProjectPage extends NotificationsPage {
"physicalSample" => "échantillon physique",
];
return $stepsLabel[$this->currentStep()->value()] ?? "brief";
return $stepsLabel[$this->currentStep()->value()];
}
// public function printManagers() {

View file

@ -25,8 +25,8 @@
<meta name="theme-color" content="#FFFFFF">
<?php if (Dir::exists('assets/dist')): ?>
<script type="module" src="<?= url('assets/dist/index.js') ?>" defer></script>
<link rel="stylesheet" href="<?= url('assets/dist/index.css') ?>">
<script type="module" src="<?= url('assets/dist/index.js') ?>?version=<?= page('projects')->siteVersion() ?>" defer></script>
<link rel="stylesheet" href="<?= url('assets/dist/index.css') ?>?version=<?= page('projects')->siteVersion() ?>">
<?php else: ?>
<script type="module" src="http://localhost:5173/@vite/client" defer></script>
<script type="module" src="http://localhost:5173/src/main.js" defer></script>

View file

@ -14,7 +14,7 @@ export default defineConfig(({ mode }) => {
},
},
sourcemap: mode === 'staging',
minify: mode === 'production',
minify: mode === 'production' ? 'esbuild' : false,
},
server: {
watch: {