-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce TypeScript and convert two components (#161)
* Drop a lot of stuff for now and add TypeScript * Add first radix-ui piece to icon component * Move utils to TypeScript * Tests * Revert on a bunch of work This reverts commit 0b6dc34.
- Loading branch information
Showing
71 changed files
with
10,346 additions
and
31,960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
presets: ['@babel/preset-env', '@babel/preset-react'], | ||
plugins: ['@babel/plugin-proposal-class-properties'] | ||
presets: ['@mapbox/babel-preset-mapbox'], | ||
overrides: [ | ||
{ | ||
test: /\.tsx$/, | ||
presets: [ | ||
'@mapbox/babel-preset-mapbox', | ||
[ | ||
'@babel/typescript', | ||
{ | ||
allExtensions: true, | ||
isTSX: true | ||
} | ||
] | ||
] | ||
} | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.