Skip to content

Commit

Permalink
Use the JS API definitions and expose async compile functions
Browse files Browse the repository at this point in the history
This also removes compile.test.ts since it can now be tested using the
shared JS API specs.
  • Loading branch information
nex3 committed Dec 14, 2021
1 parent 479f5d0 commit 4eb67bd
Show file tree
Hide file tree
Showing 7 changed files with 189 additions and 601 deletions.
8 changes: 2 additions & 6 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ export {sassNull} from './src/value/null';
export {SassNumber} from './src/value/number';
export {SassString} from './src/value/string';

export {
render,
RenderOptions,
RenderResult,
RenderError,
} from './src/node-sass/render';
export {compileAsync, compileStringAsync} from './src/compile';
export {render} from './src/node-sass/render';

export const info = `sass-embedded\t${pkg.version}`;
342 changes: 0 additions & 342 deletions lib/src/compile.test.ts

This file was deleted.

Loading

0 comments on commit 4eb67bd

Please sign in to comment.