UNPKG

710 BJavaScriptView Raw
1/** Copyright (c) 2018 Uber Technologies, Inc.
2 *
3 * This source code is licensed under the MIT license found in the
4 * LICENSE file in the root directory of this source tree.
5 *
6 * @flow
7 */
8
9/* eslint-env node */
10
11/*
12This is where webpack-related things should be defined
13*/
14
15// custom loaders: see build/compiler.js
16// $FlowFixMe
17const chunkUrlMap = require('__SECRET_BUNDLE_MAP_LOADER__!'); // eslint-disable-line import/no-unresolved, import/no-extraneous-dependencies
18// $FlowFixMe
19const syncChunks = require('__SECRET_SYNC_CHUNK_IDS_LOADER__!'); // eslint-disable-line import/no-unresolved, import/no-extraneous-dependencies
20
21module.exports = () => {
22 return {
23 syncChunks,
24 chunkUrlMap,
25 };
26};