Fix build

Use `map` config so that dynamic module IDs can be honored during
runtime when the project has been optimized to a single file.