mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-20 07:21:35 +01:00
Initial "plugin" system with importer (#7)
This commit is contained in:
1 parent
749025640f
commit
1cd6e0af06
26 files changed
+972
-452
No files matched your search
@@ -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