Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit e732531

Browse files
committed
Fix: Look for a known filename produced by webpack.
1 parent 64f8b57 commit e732531

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runestone/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def build(all, wd):
150150
else:
151151
os.chdir(findProjectRoot())
152152
sys.path.insert(0, os.getcwd())
153-
if not pathlib.Path(resource_filename("runestone", "dist/runestone.bundle.js")).exists():
154-
click.echo("Error -- You are missing runestone.bundle.js. Please make sure")
153+
if not pathlib.Path(resource_filename("runestone", "dist/webpack_static_imports.json")).exists():
154+
click.echo("Error -- you are missing webpack_static_imports.json. Please make sure")
155155
click.echo("you have Runestone installed correctly.")
156156
click.echo("In a development environment, execute npm run build.")
157157
sys.exit(-1)

0 commit comments

Comments
 (0)