diff --git a/config/paths.js b/config/paths.js index 85213cc..fa0b1ae 100644 --- a/config/paths.js +++ b/config/paths.js @@ -41,9 +41,9 @@ function getServedPath(appPackageJson) { module.exports = { dotenv: resolveApp(".env"), appBuild: resolveApp("build"), - appPublic: resolveApp("src/plugins/artifact/editor/public"), - appHtml: resolveApp("src/plugins/artifact/editor/public/index.html"), - appIndexJs: resolveApp("src/plugins/artifact/editor/index.js"), + appPublic: resolveApp("src/app/public"), + appHtml: resolveApp("src/app/public/index.html"), + appIndexJs: resolveApp("src/app/index.js"), appPackageJson: resolveApp("package.json"), appSrc: resolveApp("src"), yarnLockFile: resolveApp("yarn.lock"), diff --git a/src/plugins/artifact/editor/index.css b/src/app/index.css similarity index 100% rename from src/plugins/artifact/editor/index.css rename to src/app/index.css diff --git a/src/plugins/artifact/editor/index.js b/src/app/index.js similarity index 86% rename from src/plugins/artifact/editor/index.js rename to src/app/index.js index 3ef8d8d..d722061 100644 --- a/src/plugins/artifact/editor/index.js +++ b/src/app/index.js @@ -2,7 +2,7 @@ import React from "react"; import ReactDOM from "react-dom"; import "./index.css"; -import App from "./App"; +import App from "../plugins/artifact/editor/App"; import registerServiceWorker from "./registerServiceWorker"; const root = document.getElementById("root"); diff --git a/src/plugins/artifact/editor/public/index.html b/src/app/public/index.html similarity index 100% rename from src/plugins/artifact/editor/public/index.html rename to src/app/public/index.html diff --git a/src/plugins/artifact/editor/registerServiceWorker.js b/src/app/registerServiceWorker.js similarity index 100% rename from src/plugins/artifact/editor/registerServiceWorker.js rename to src/app/registerServiceWorker.js