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

Async load webpack config #272

Closed
kontrollanten opened this issue Oct 26, 2017 · 1 comment
Closed

Async load webpack config #272

kontrollanten opened this issue Oct 26, 2017 · 1 comment

Comments

@kontrollanten
Copy link

I'm submitting a feature request

Current behavior:
karma-webpack will fail to parse the webpack property in the configuration when a the webpack config is is async loaded.

const webpackConfig = {
  entry: ...
}

module.exports = config => {
  config.set({
    webpack: new Promise(resolve => resolve(webpackConfig)),
  });
}

Expected/desired behavior:
Accept async configurations.

@langri-sha
Copy link

Using deasync in a pinch helps.

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

No branches or pull requests

4 participants