Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Cache manifest handling #32

Closed
markfinger opened this issue Jun 25, 2015 · 2 comments
Closed

Cache manifest handling #32

markfinger opened this issue Jun 25, 2015 · 2 comments
Milestone

Comments

@markfinger
Copy link
Owner

#20 laid a lot of the groundwork and proved the worth (it's annoying having to warm up and maintain a build server)

Workflow

  • user runs webpack command
  • system builds the config files which have been listed
  • writes the output to a manifest file
@markfinger markfinger added this to the v5.0 milestone Jun 25, 2015
@markfinger markfinger reopened this Jun 30, 2015
@markfinger
Copy link
Owner Author

This deviates from the previous attempts as we're now heavily dependent on context which is passed to the config files.

Needs support for

  • manifest keys which reflect the config file and the context
  • contexts can be specified in settings
    • for each config file
    • multiple contexts for a file can be generated

Conf should end up looking something like

{
    # ...
    'CONFIG_DIRS': (
        os.path.join('...', '...'),
    ),
    'MANIFEST': {
        # This builds and caches the output for the default context
        'styles_config.js': None,
        # This builds and caches the output for each context
        'react_component_config.js': (
            {
                # context ...
            },
            {
                # context ...
            },
        ),
        # ...
    },
    'USE_MANIFEST': True,
    'MANIFEST_FILE': 'manifest.json',
}

markfinger added a commit that referenced this issue Jul 5, 2015
markfinger added a commit that referenced this issue Jul 5, 2015
…method for generating a manifest file from settings

Re #32
@markfinger
Copy link
Owner Author

Fixed in latest

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant