Compare commits

...
Author SHA1 Message Date
Michael Chung cc223dbc0e Add vite sourcemap 2025-05-27 16:56:20 -04:00
Michael Chung f387dfd09d Fix circular dependency. 2025-05-27 16:38:25 -04:00
5 changed files with 11 additions and 8 deletions
+2
View File
@@ -11,6 +11,8 @@ import { resolve } from 'node:path'
export default defineConfig({
root: path.resolve(__dirname, 'app'),
build: {
minify: false,
sourcemap: true,
outDir: path.resolve(__dirname, 'dist'),
rollupOptions: {
input: {
@@ -5,3 +5,7 @@ export interface UploaderState {
errorMessage?: string;
data?: string;
}
export const initialUploaderState = {
status: UploaderStates.ready,
};
@@ -4,8 +4,11 @@ import { Modal } from "@storyteller/ui-modal";
import { UploadAssetError } from "./UploadAssetError";
import { UploadSuccess } from "./UploadSuccess";
import { UploadFiles } from "./UploadFiles";
import { FilterEngineCategories, UploaderStates } from "~/enums";
import { UploaderState, initialUploaderState } from "~/models";
import {
FilterEngineCategories,
} from "@storyteller/api";
import { UploaderStates } from "@storyteller/common";
import { UploaderState, initialUploaderState } from "@storyteller/common";
interface Props {
onClose: () => void;
@@ -2,9 +2,6 @@
"files": [],
"include": [],
"references": [
{
"path": "../../../apps/editor3d"
},
{
"path": "../modal"
},
@@ -43,9 +43,6 @@
"src/**/*.tsx"
],
"references": [
{
"path": "../../../apps/editor3d"
},
{
"path": "../modal/tsconfig.lib.json"
},