mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-18 23:43:55 +01:00
Initial "plugin" system with importer (#7)
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
export function hello() {
|
||||
sayHello('Plugin');
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
import { hello } from './hello.js';
|
||||
|
||||
export function entrypoint() {
|
||||
hello();
|
||||
console.log('Try JSON parse', JSON.parse(`{ "hello": 123 }`).hello);
|
||||
console.log('Try RegExp', '123'.match(/[\d]+/));
|
||||
}
|
||||
Reference in New Issue
Block a user