Skip to content

Commit 8518db0

Browse files
committed
fix: add alias to docs config to build correctly
1 parent 6d53c5a commit 8518db0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/plugins/docusaurus-react-native-plugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = function () {
88
mergeStrategy: { 'resolve.extensions': 'prepend' },
99
resolve: {
1010
alias: {
11+
'@': path.resolve(__dirname, '../../src'),
1112
react: path.resolve('node_modules/react'),
1213
'react-native$': 'react-native-web',
1314
'react-native-paper': path.resolve('../src'),

0 commit comments

Comments
 (0)