Move app scaffolding to src/app
This commit executes a micro-refactor to move all top-level app setup code out of src/plugins/artifact/editor and into src/app. The observed behavior from `yarn start`, which is to show the artifact editor, is unchanged.
This commit is contained in:
parent
c2fb88b11a
commit
63351e6149
|
@ -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"),
|
||||
|
|
|
@ -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");
|
Loading…
Reference in New Issue