Kaynağa Gözat

Clean up the temporary public path file

Webpack includes this file into the remoteEntry file, so we do not need to keep it as a separate file.
Jason Grout 4 yıl önce
ebeveyn
işleme
47612df78a
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      builder/src/extensionConfig.ts

+ 3 - 0
builder/src/extensionConfig.ts

@@ -221,6 +221,9 @@ function generateConfig({
         }
         data.jupyterlab._build = _build;
         writeJSONFile(path.join(outputPath, 'package.json'), data);
+
+        // Remove our temporary public path file
+        fs.removeSync(publicpath);
       });
     }
   }