developit / developit/preact-cli-plugin-async

TypeError: Cannot read property 'push' of undefined

Open
#20 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
44
Forks
10
PR merge metrics
No merged PRs in 30d

Description

preact.config.js:

```
import asyncPlugin from 'preact-cli-plugin-async';

export default (config, env, helpers) => {
asyncPlugin(config);
};

```

error:

```
npm run build
> test-widget@0.1.0 build /media/sdb1/dev/preact/test-widget
> preact build --no-prerender --clean --template src/index.ejs --service-worker false

Error: Error at /media/sdb1/dev/preact/test-widget/preact.config.js:
TypeError: Cannot read property 'push' of undefined

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.