Skip to content

Commit

Permalink
[FIX] public-path config before other imports (#1390)
Browse files Browse the repository at this point in the history
  • Loading branch information
mproch authored Jan 22, 2021
1 parent 57e507a commit f5f5406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion ui/client/bootstrap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {Router} from "react-router-dom"
import {PersistGate} from "redux-persist/integration/react"
import LoaderSpinner from "./components/Spinner"

import "./config"
import Notifications from "./containers/Notifications"
import {NkApp} from "./containers/NussknackerApp"
import NussknackerInitializer from "./containers/NussknackerInitializer"
Expand Down
2 changes: 2 additions & 0 deletions ui/client/init.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
//config *has* to be loaded before other imports, see Warning at https://webpack.js.org/guides/public-path/#on-the-fly
import "./config"
import("./bootstrap")

0 comments on commit f5f5406

Please sign in to comment.