Skip to content

Commit

Permalink
feat(esbuild): add css preprocessor support (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz authored Jan 24, 2022
1 parent 9dfd14e commit 43cfaf5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/esbuild/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ const ExtToLoader: Record<string, Loader> = {
'.mts': 'ts',
'.tsx': 'tsx',
'.css': 'css',
'.less': 'css',
'.stylus': 'css',
'.scss': 'css',
'.sass': 'css',
'.json': 'json',
'.txt': 'text'
}
Expand Down

0 comments on commit 43cfaf5

Please sign in to comment.