mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
546ca123f6
commit
1e08b01423
3 files changed
+3
-3
No files matched your search
@@ -1,5 +1,4 @@
|
||||
// import { LensExtension } from "@lens"; // fixme: provide runtime import
|
||||
import { LensExtension } from "../extension";
|
||||
import { LensExtension } from "@lens"; // fixme: provide runtime import
|
||||
|
||||
export default class ExampleExtension extends LensExtension {
|
||||
async init(): Promise<any> {
|
||||
|
||||
@@ -56,7 +56,7 @@ export class ExtensionStore extends BaseStore<ExtensionStoreModel> {
|
||||
let mainJs: string;
|
||||
try {
|
||||
manifestJson = __non_webpack_require__(manifestPath); // eslint-disable-line
|
||||
mainJs = path.resolve(path.dirname(manifestPath), manifestJson.main); // fixme: compile *.ts on the fly
|
||||
mainJs = path.resolve(path.dirname(manifestPath), manifestJson.main); // todo: compile *.ts on the fly?
|
||||
const LensExtension = __non_webpack_require__(mainJs).default; // eslint-disable-line
|
||||
return {
|
||||
manifestPath: manifestPath,
|
||||
|
||||
Reference in new issue
Block a user