MCPcopy Index your code
hub / github.com/andywer/webpack-blocks / entryPoint

Function entryPoint

packages/webpack/index.js:77–82  ·  view source on GitHub ↗

* Adds one or multiple entry points. If the parameter is not an object the * entry point(s) will be added to the default chunk named `main`. * * @param {object|string[]|string} entry * @see https://webpack.github.io/docs/configuration.html#entry

(entry)

Source from the content-addressed store, hash-verified

75 * @see https://webpack.github.io/docs/configuration.html#entry
76 */
77function entryPoint(entry) {
78 return (context, util) =>
79 util.merge({
80 entry: normalizeEntry(entry)
81 })
82}
83
84function normalizeEntry(entry) {
85 if (Array.isArray(entry)) {

Callers 10

entryPoint.test.jsFile · 0.85
webpack.config.jsFile · 0.85
webpack.config.jsFile · 0.85
webpack.config.jsFile · 0.85
webpack.config.jsFile · 0.85
webpack.config.jsFile · 0.85
webpack.config.jsFile · 0.85

Calls 1

normalizeEntryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…