From 03f00041dcccdf68ab231840e0c6c452f708d054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Fri, 18 May 2018 15:52:57 +0200 Subject: [PATCH] Clarify fullPaths option, fixes #902. --- readme.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/readme.markdown b/readme.markdown index b3118771f..32abb7ef4 100644 --- a/readme.markdown +++ b/readme.markdown @@ -439,7 +439,11 @@ when calling `browserify` command. [commondir](https://www.npmjs.com/package/commondir) module. `opts.fullPaths` disables converting module ids into numerical indexes. This is -useful for preserving the original paths that a bundle was generated with. +useful for preserving the original paths that a bundle was generated with. Note +that even when `fullPaths` is `false`, the bundle will contain +`require('module-id')` calls which are mapped to numerical indexes at runtime. +To remove module ids from the bundle entirely, use something like +[bundle-collapser](https://github.com/substack/bundle-collapser). `opts.builtins` sets the list of built-ins to use, which by default is set in `lib/builtins.js` in this distribution.