BREAKING CHANGE(core): switch to esm

This commit is contained in:
2022-08-07 11:18:02 +02:00
parent 8b9dec976c
commit 0a8e4a3517
17 changed files with 12813 additions and 902 deletions

View File

@@ -1,5 +1,5 @@
import * as plugins from './smartrule.plugins';
import { Rule, TCheckFunc, TActionFunc, TTreeActionResult } from './smartrule.classes.rule';
import * as plugins from './smartrule.plugins.js';
import { Rule, TCheckFunc, TActionFunc, TTreeActionResult } from './smartrule.classes.rule.js';
export class SmartRule<T> {
public rules: Array<Rule<T>> = [];