Slide 36
Slide 36 text
© JMDC
Inc.
࣮ྫɿ4UPSZCPPLͷ߹
module.exports = {
webpackFinal: (config) => {
// WebpackͷAliasઃఆ
config.resolve.alias = {
"react-native$": "react-native-web",
};
// react-native-webʹม͢Δ͜ͱͰมߋ͞ΕΔ֦ுࢠΛղܾ͢Δ
config.resolve.extensions.unshift(".web.js");
return config;
},
};
36