lucid-package 0.0.115 → 0.0.117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/editorextension.js +3 -0
package/package.json
CHANGED
package/src/editorextension.js
CHANGED
|
@@ -215,6 +215,9 @@ async function debugEditorExtension(extensionNames, isInternal, quiet = false, p
|
|
|
215
215
|
app.get('/editorextensions/errors', async (req, res) => {
|
|
216
216
|
res.send(JSON.stringify(Array.from(errorLog.entries())));
|
|
217
217
|
});
|
|
218
|
+
// If you would like to serve files during dev that should not be bundled (so, you cannot use `public`) you can
|
|
219
|
+
// place them in the `devfiles` directory and they will be served here.
|
|
220
|
+
app.use('/devfiles', express.static('devfiles'));
|
|
218
221
|
// Static resources in the "public" directory of the package
|
|
219
222
|
const manifest = await (0, packagemanifest_1.readManifest)('local');
|
|
220
223
|
if (manifest['public']) {
|