NodePackageImporter constructor
NodePackageImporter(
- String entryPointDirectory
Creates a Node package importer with the associated entry point.
Implementation
NodePackageImporter(String entryPointDirectory) {
if (isBrowser) {
throw "The Node package importer cannot be used without a filesystem.";
}
_entryPointDirectory = p.absolute(entryPointDirectory);
}