BREAKING CHANGE(core): switch to esm

This commit is contained in:
2022-08-09 18:19:05 +02:00
parent b9791c9df4
commit 4d3e1ddf9f
13 changed files with 12331 additions and 2439 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/smartmatch',
version: '2.0.0',
description: 'a minimal matching library using picomatch'
}

View File

@ -1,4 +1,4 @@
import * as plugins from './smartmatch.plugins';
import * as plugins from './smartmatch.plugins.js';
export class SmartMatch {
public wildcard: string;

View File

@ -1,4 +1,4 @@
// third party scope
import matcher from 'matcher';
import * as matcher from 'matcher';
export { matcher };