fix: path

This commit is contained in:
cha0s 2023-12-02 23:54:12 -06:00
parent ab6d1f1720
commit dee3330f07

View File

@ -7,7 +7,7 @@ export const hooks = {
const isProduction = 'production' === argv.mode; const isProduction = 'production' === argv.mode;
config.resolve.alias['react-native'] = 'react-native-web'; config.resolve.alias['react-native'] = 'react-native-web';
config.resolve.alias['react-hot-loader'] = isProduction config.resolve.alias['react-hot-loader'] = isProduction
? 'react-hot-loader/dist/react-hot-loader.production' ? 'react-hot-loader/dist/react-hot-loader.production.min'
: 'react-hot-loader/dist/react-hot-loader.development'; : 'react-hot-loader/dist/react-hot-loader.development';
config.resolve.extensions.unshift(...['.web.js', '.web.jsx']); config.resolve.extensions.unshift(...['.web.js', '.web.jsx']);
// Augment the build on behalf of a missing `@flecks/web`. // Augment the build on behalf of a missing `@flecks/web`.