Skip to content

Documentation: how does webpack know where to put built assets? #31

Description

@mattcollier

The linkage is difficulty to identify because it happens via an event bedrock-views.bundle.run:

const output = options.output || config['bedrock-webpack'].out;
const paths = options.paths || config['bedrock-webpack'].paths;

options.output will determine whether webpack assets go into development or production it will be an absolute path like:

/home/matt/bedrock-dev/some-app/.cache/bedrock-views/production/js/bundle.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions