Skip to content

Commit

Permalink
fix: copy public files
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jun 22, 2023
1 parent cb5f01c commit a844cd8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
"scripts": {
"lint": "eslint src",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rm -rf lib && npm run build:esm && npm run build:cjs",
"build": "rm -rf lib && npm run build:esm && npm run build:cjs && npm run copy",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs"
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"copy": "npm run copy:esm && npm run copy:cjs",
"copy:esm": "cp -r src/public lib/esm/public",
"copy:cjs": "cp -r src/public lib/cjs/public"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -83,4 +86,4 @@
"formik": "^2.2.9",
"yup": "^1.1.1"
}
}
}
2 changes: 1 addition & 1 deletion src/features/ScreenTimeDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from '@mui/material';

import { Image } from '../components';
import BrainImage from '../images/brain.svg';
import BrainImage from '../public/images/brain.svg';

export interface ScreenTimeDialogProps {
open: boolean;
Expand Down
File renamed without changes

0 comments on commit a844cd8

Please sign in to comment.