We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
preact.config.js:
import asyncPlugin from 'preact-cli-plugin-async'; export default (config, env, helpers) => { asyncPlugin(config); };
error:
npm run build > [email protected] 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
The text was updated successfully, but these errors were encountered:
Getting the same error.
Sorry, something went wrong.
Same error
same...
solution for this:
include es2017 in your .babelrc file:
es2017
{ "presets": ["preact-cli/babel", "es2017"], }
and perform
npm install --save-dev babel-preset-es2017
No branches or pull requests
preact.config.js:
error:
The text was updated successfully, but these errors were encountered: