|
|
|
@ -6,7 +6,6 @@ const remixTests = require('@remix-project/remix-tests') |
|
|
|
|
const globalRegistry = require('../../global/registry') |
|
|
|
|
const addTooltip = require('../ui/tooltip') |
|
|
|
|
const async = require('async') |
|
|
|
|
var base64 = require('js-base64').Base64 |
|
|
|
|
var swarmgw = require('swarmgw')() |
|
|
|
|
var resolver = require('@resolver-engine/imports').ImportsEngine() |
|
|
|
|
var request = require('request') |
|
|
|
@ -19,7 +18,6 @@ const profile = { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
module.exports = class CompilerImports extends Plugin { |
|
|
|
|
|
|
|
|
|
constructor (fileManager) { |
|
|
|
|
super(profile) |
|
|
|
|
this.fileManager = fileManager |
|
|
|
@ -133,7 +131,6 @@ module.exports = class CompilerImports extends Plugin { |
|
|
|
|
cb(null, content, cleanUrl, handler.type, url) |
|
|
|
|
}).catch(function (error) { |
|
|
|
|
cb('Unable to import url : ' + error) |
|
|
|
|
return |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|