File tree Expand file tree Collapse file tree 3 files changed +3
-11
lines changed Expand file tree Collapse file tree 3 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"private" : true ,
10
10
"scripts" : {
11
- "postinstall" : " mkdir -p hacks/html-parser && ln -vf ./node_modules/@maxmilton/html-parser/src/* hacks/html-parser/" ,
12
11
"build" : " NODE_ENV=production bun build.ts" ,
13
12
"dev" : " NODE_ENV=development bun build.ts" ,
14
13
"lint" : " bun lint:fmt && bun lint:css && bun lint:js && bun lint:ts" ,
21
20
},
22
21
"dependencies" : {
23
22
"@ekscss/framework" : " 0.0.52" ,
24
- "@maxmilton/html-parser" : " 0.0.10 " ,
23
+ "@maxmilton/html-parser" : " 0.0.11 " ,
25
24
"stage1" : " 0.8.0-next.15" ,
26
25
"trackx" : " 0.6.1"
27
26
},
Original file line number Diff line number Diff line change 1
1
/* eslint-disable @typescript-eslint/prefer-for-of, unicorn/prefer-includes, unicorn/no-for-loop */
2
2
3
3
// Import source for better build optimization (especially const enum inlining).
4
- // import {
5
- // type Node,
6
- // SyntaxKind,
7
- // type Tag as Tag_,
8
- // parse,
9
- // walk,
10
- // } from '@maxmilton/html-parser/src';
11
- import { create } from 'stage1' ;
12
4
import {
13
5
type Node ,
14
6
SyntaxKind ,
15
7
type Tag as Tag_ ,
16
8
parse ,
17
9
walk ,
18
- } from '../hacks/html-parser' ; // HACK: Path workaround to allow running macros in node_modules
10
+ } from '@maxmilton/html-parser/src' ;
11
+ import { create } from 'stage1' ;
19
12
20
13
interface Tag extends Omit < Tag_ , 'attributeMap' > {
21
14
attributeMap : Record < string , string | undefined > ;
You can’t perform that action at this time.
0 commit comments