We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a56d2d commit bf57f55Copy full SHA for bf57f55
{{cookiecutter.github_project_name}}/src/extension.ts
@@ -8,6 +8,6 @@
8
// Some static assets may be required by the custom widget javascript. The base
9
// url for the notebook is not known at build time and is therefore computed
10
// dynamically.
11
-__webpack_public_path__ = document.querySelector('body')!.getAttribute('data-base-url') + 'nbextensions/{{ cookiecutter.npm_package_name }}';
+(window as any).__webpack_public_path__ = document.querySelector('body')!.getAttribute('data-base-url') + 'nbextensions/{{ cookiecutter.npm_package_name }}';
12
13
export * from './index';
0 commit comments