fix: path
This commit is contained in:
parent
ab6d1f1720
commit
dee3330f07
|
@ -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`.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user