File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {
1010} from "../../src/bin/only-include-used-icons" ;
1111import * as child_process from "child_process" ;
1212import { oppa } from "oppa" ;
13- import { assert } from "tsafe/assert" ;
1413import { patchCssForMui } from "./patchCssForMui" ;
1514
1615( async ( ) => {
@@ -123,14 +122,7 @@ import { patchCssForMui } from "./patchCssForMui";
123122 ...packageJsonParsed ,
124123 "main" : packageJsonParsed [ "main" ] . replace ( / ^ d i s t \/ / , "" ) ,
125124 "types" : packageJsonParsed [ "types" ] . replace ( / ^ d i s t \/ / , "" ) ,
126- "module" : packageJsonParsed [ "module" ] . replace ( / ^ d i s t \/ / , "" ) ,
127- "exports" : Object . fromEntries (
128- Object . entries ( packageJsonParsed [ "exports" ] ) . map ( ( [ key , value ] ) => [
129- key ,
130- ( assert ( typeof value === "string" ) ,
131- value . replace ( / ^ \. \/ d i s t \/ / , "./" ) )
132- ] )
133- )
125+ "module" : packageJsonParsed [ "module" ] . replace ( / ^ d i s t \/ / , "" )
134126 } ;
135127 } ) ( ) ,
136128 null ,
You can’t perform that action at this time.
0 commit comments