Skip to content
This repository was archived by the owner on Feb 9, 2021. It is now read-only.
This repository was archived by the owner on Feb 9, 2021. It is now read-only.

Slim the webpack build #174

@saiichihashimoto

Description

@saiichihashimoto

Currently, there's four instances of webpack running. Ideally, there'd be one.

Initially, I wanted for background.js (or top-frame.js, etc.) to be able to require('./module') and it would include require('./module.background') if it existed. With the multiple entry chunks, this would mean multiple sets of resolve.extensions, which webpack/webpack#2801 isn't down with. I solved this with running webpack multiple time. This is horrible for performance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions