diff --git a/Dockerfile b/Dockerfile index 6b8370a..37aad30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN npm install # Copy what we need for the client-side build COPY config /app/config/ -COPY build /app/build/ +COPY build-scripts /app/build-scripts/ COPY public /app/public/ COPY shared /app/shared/ # Build the client-side bundle diff --git a/build/build-client-scripts.js b/build-scripts/build-client-scripts.js similarity index 100% rename from build/build-client-scripts.js rename to build-scripts/build-client-scripts.js diff --git a/build/build-client.js b/build-scripts/build-client.js similarity index 100% rename from build/build-client.js rename to build-scripts/build-client.js diff --git a/build/do-client-build.js b/build-scripts/do-client-build.js similarity index 100% rename from build/do-client-build.js rename to build-scripts/do-client-build.js diff --git a/build/generate-vite-config-for-entry-point.js b/build-scripts/generate-vite-config-for-entry-point.js similarity index 100% rename from build/generate-vite-config-for-entry-point.js rename to build-scripts/generate-vite-config-for-entry-point.js diff --git a/build/write-version-files.js b/build-scripts/write-version-files.js similarity index 100% rename from build/write-version-files.js rename to build-scripts/write-version-files.js diff --git a/package.json b/package.json index e8961d4..b161249 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "scripts": { "lint": "eslint **/*.js", - "build": "node ./build/do-client-build.js", + "build": "node ./build-scripts/do-client-build.js", "start": "node server/server.js", "start-dev": "node server/start-dev.js", "test": "npm run mocha -- test/**/*-tests.js --timeout 15000", diff --git a/server/start-dev.js b/server/start-dev.js index f743aae..832a94a 100644 --- a/server/start-dev.js +++ b/server/start-dev.js @@ -5,7 +5,7 @@ console.log('start-dev process.env.NODE_ENV', process.env.NODE_ENV); const path = require('path'); const nodemon = require('nodemon'); -const buildClient = require('../build/build-client'); +const buildClient = require('../build-scripts/build-client'); // Build the client-side JavaScript bundle when we see any changes buildClient({