mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2026-10-13 18:02:01 -05:00
Update setup.py
Co-Authored-By: Jesse Tan <jessetan@users.noreply.github.com>
This commit is contained in:
1 parent
28ca8458a3
commit
04f5c9281c
1 file changed
+1
-1
@@ -19,7 +19,7 @@ class WebpackBuildCommand(setuptools.command.build_py.build_py):
|
||||
|
||||
def run(self):
|
||||
if not 'CI' in os.environ:
|
||||
subprocess.run(['webpack', '--config', 'webpack.prod.js'], check=True)
|
||||
subprocess.run(['node_modules/.bin/webpack', '--config', 'webpack.prod.js'], check=True)
|
||||
setuptools.command.build_py.build_py.run(self)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user