Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to specify custom webpack loader #146

Closed
TheSharpieOne opened this issue Mar 12, 2018 · 0 comments
Closed

Allow user to specify custom webpack loader #146

TheSharpieOne opened this issue Mar 12, 2018 · 0 comments
Assignees

Comments

@TheSharpieOne
Copy link
Collaborator

Currently the webpack loaders are defined solely by workflow. It would be nice to allow additional loaders to be defined via workflow settings.
Also, to take this one step further, might as well allow any of the predefined webpack config to be altered by the user via workflow settings. This could be a simple as calling a user defined function and passing in the webpack config. The function would return the new config which would be used.

@TheSharpieOne TheSharpieOne self-assigned this Mar 12, 2018
TheSharpieOne added a commit that referenced this issue Mar 12, 2018
…ck config

Adds modifyWebpackConfig option to workflow.js. When it is a function it will be called with the current webpack config and a reference to the workflow settings
modifyWebpackConfig can be used to modify or replace the webpack config by returning the desiered final webpack config

Fixes #134, Fixes #146
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant