From dcabab434dbafe9e34fca52c6a2a29f01369e8c9 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 9 Mar 2021 10:50:13 +0100 Subject: [PATCH] put all the imports in the .deps folder --- apps/remix-ide/src/app/compiler/compiler-imports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/compiler/compiler-imports.js b/apps/remix-ide/src/app/compiler/compiler-imports.js index 43840e5962..5b3077b008 100644 --- a/apps/remix-ide/src/app/compiler/compiler-imports.js +++ b/apps/remix-ide/src/app/compiler/compiler-imports.js @@ -90,7 +90,7 @@ module.exports = class CompilerImports extends Plugin { if (this.fileManager) { const workspace = this.fileManager.currentFileProvider() const path = targetPath || type + '/' + cleanUrl - if (workspace) workspace.addExternal(path, content, url) + if (workspace) workspace.addExternal('.deps/' + path, content, url) } cb(null, content) })