Rename to build-scripts to it appears in GitHub file finder (#166)
It seems like the `build/` directory is ignored in the GitHub file finder as a sane default for people who put compiled assets there. `build-scripts/` probably makes more sense anyway
This commit is contained in:
parent
5aafa01f38
commit
e99a0d6912
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue