-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix sass, sass transpiler, remove black background
- Loading branch information
1 parent
d1d11b2
commit d5d2be6
Showing
6 changed files
with
2,067 additions
and
18,605 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
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,15 +1,11 @@ | ||
const { getDefaultConfig } = require('metro-config'); | ||
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config'); | ||
|
||
module.exports = (async () => { | ||
const { | ||
resolver: { sourceExts }, | ||
} = await getDefaultConfig(); | ||
return { | ||
transformer: { | ||
babelTransformerPath: require.resolve('react-native-sass-transformer'), | ||
}, | ||
resolver: { | ||
sourceExts: [...sourceExts, 'scss', 'sass'], | ||
}, | ||
}; | ||
})(); | ||
/** | ||
* Metro configuration | ||
* https://facebook.github.io/metro/docs/configuration | ||
* | ||
* @type {import('metro-config').MetroConfig} | ||
*/ | ||
const config = {}; | ||
|
||
module.exports = mergeConfig(getDefaultConfig(__dirname), config); |
Oops, something went wrong.