Skip to content

Commit

Permalink
Merge pull request #66 from benawad/feat/add-support-for-sass
Browse files Browse the repository at this point in the history
feat: add support for sass
  • Loading branch information
sQVe committed Feb 24, 2020
2 parents 5070961 + f70e96b commit 81977d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index/formatFileStructure/buildGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ export function buildGraph(files: string[]) {
graph,
files: totalFiles,
oldGraph,
useForwardSlash: numForwardSlashes >= numBackSlashes ? true : false,
useForwardSlash: numForwardSlashes >= numBackSlashes,
};
}
2 changes: 1 addition & 1 deletion src/index/formatFileStructure/shared/customResolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import resolve from "resolve";
export const customResolve = (id: string, basedir: string) => {
return resolve.sync(id, {
basedir,
extensions: [".js", ".jsx", ".ts", ".tsx", ".svg"], // .svg is for create-react-app
extensions: [".js", ".jsx", ".sass", ".scss", ".svg", ".ts", ".tsx"],
});
};

0 comments on commit 81977d0

Please sign in to comment.