File tree 4 files changed +4
-3
lines changed
4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ node_modules/
3
3
bundles /
4
4
PIG /bundles /
5
5
Parse-Dashboard /public /bundles /
6
+ Parse-Dashboard /public /v2 /
6
7
Parse-Dashboard /v2 /
7
8
Parse-Dashboard /parse-dashboard-config.json
8
9
npm-debug.log
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ COPY --from=build /src/package*.json /src/
53
53
54
54
# Copy compiled src dirs
55
55
COPY --from=build /src/Parse-Dashboard/ /src/Parse-Dashboard/
56
- COPY --from=v2-build /Parse-Dashboard/v2 /src/Parse-Dashboard/v2
56
+ COPY --from=v2-build /Parse-Dashboard/public/ v2 /src/Parse-Dashboard/public /v2
57
57
58
58
USER node
59
59
Original file line number Diff line number Diff line change 125
125
"dev" : " node ./Parse-Dashboard/index.js --dev & webpack --config webpack/build.config.js --devtool eval-source-map --progress --watch" ,
126
126
"dashboard" : " node ./Parse-Dashboard/index.js & webpack --config webpack/build.config.js --progress --watch" ,
127
127
"pig" : " http-server ./PIG -p 4041 -s & webpack --config webpack/PIG.config.js --progress --watch" ,
128
- "build" : " webpack --node-env=production --config webpack/production.config.js && webpack --config webpack/PIG.config.js" ,
128
+ "build" : " webpack --node-env=production --config webpack/production.config.js && webpack --config webpack/PIG.config.js && npm run build --workspace=v2 " ,
129
129
"test" : " jest" ,
130
130
"lint" : " eslint --ignore-path .gitignore --cache ./" ,
131
131
"lint:fix" : " DEBUG=eslint:cli-engine eslint --ignore-path .gitignore --fix --cache ./" ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import react from '@vitejs/plugin-react-swc';
5
5
export default defineConfig ( {
6
6
plugins : [ react ( ) ] ,
7
7
build : {
8
- outDir : '../Parse-Dashboard/v2' ,
8
+ outDir : '../Parse-Dashboard/public/ v2' ,
9
9
emptyOutDir : true ,
10
10
rollupOptions : {
11
11
output : {
You can’t perform that action at this time.
0 commit comments