Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
28 lines (20 loc) · 682 Bytes

File metadata and controls

28 lines (20 loc) · 682 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import os
from js_host.conf import settings as js_host_settings
from webpack.conf import settings as webpack_settings
from react.conf import settings as react_settings
DEBUG = True
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
js_host_settings.configure(
USE_MANAGER=DEBUG
)
webpack_settings.configure(
# The root directory that webpack will place files into and infer urls from
BUNDLE_ROOT=os.path.join(BASE_DIR, 'static'),
# The root url that webpack will use to determine the urls to bundles
BUNDLE_URL='/static/',
WATCH_SOURCE_FILES=DEBUG,
WATCH_CONFIG_FILES=DEBUG,
)
react_settings.configure(
DEVTOOL='eval' if DEBUG else None,
)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.