1 | const { createWebpackConfig } = require('./utils/makeReactNativeConfig');
|
2 |
|
3 | module.exports = {
|
4 | /**
|
5 | * Export helper function for building a config for Haul (default haul.config.js)
|
6 | *
|
7 | * import { createWebpackConfig } from 'haul';
|
8 | *
|
9 | * export default {
|
10 | * webpack: createWebpackConfig(({ platform }) => {
|
11 | * entry: `./index.${platform}.js`,
|
12 | * include: /node_modules/,
|
13 | * }),
|
14 | * }
|
15 | */
|
16 | createWebpackConfig,
|
17 | };
|