Browse Source

Remove webpack public path variable from index files.

Afshin Darian 7 years ago
parent
commit
55fc247987
2 changed files with 0 additions and 6 deletions
  1. 0 3
      dev_mode/index.js
  2. 0 3
      jupyterlab/staging/index.js

+ 0 - 3
dev_mode/index.js

@@ -6,10 +6,7 @@
 require('es6-promise/auto');  // polyfill Promise on IE
 
 var PageConfig = require('@jupyterlab/coreutils').PageConfig;
-// eslint-disable-next-line no-undef
-__webpack_public_path__ = PageConfig.getOption('publicUrl');
 
-// This needs to come after __webpack_public_path__ is set.
 require('font-awesome/css/font-awesome.min.css');
 
 /**

+ 0 - 3
jupyterlab/staging/index.js

@@ -6,10 +6,7 @@
 require('es6-promise/auto');  // polyfill Promise on IE
 
 var PageConfig = require('@jupyterlab/coreutils').PageConfig;
-// eslint-disable-next-line no-undef
-__webpack_public_path__ = PageConfig.getOption('publicUrl');
 
-// This needs to come after __webpack_public_path__ is set.
 require('font-awesome/css/font-awesome.min.css');
 
 /**