You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom Webpack configuration can be provided for a project using ES Modules.
Actual Behaviour
➜ sequence_test git:(main) ✗ aio app run --local
ℹ checking if java is installed...
ℹ checking if docker is installed...
ℹ checking if docker is running...
ℹ starting local OpenWhisk stack...
ℹ writing credentials to tmp wskdebug config '/Users/mgoberling/repos/adobe/my-utils/utils/sequence_test/dist/application/.env.local'
ℹ building actions..
› Error: require() of ES Module /Users/mgoberling/repos/adobe/my-utils/utils/sequence_test/actions/first/webpack-config.js from
› /usr/local/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-lib-runtime/src/build-actions.js not supported.
› Instead change the require of webpack-config.js in /usr/local/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-lib-runtime/src/build-actions.js to a dynamic
› import() which is available in all CommonJS modules.
Steps to Reproduce
aio app init with action
Add webpack-configuration.js to your action folder
Expected Behaviour
Actual Behaviour
Steps to Reproduce
aio app init
with actionwebpack-configuration.js
to your action folder"type": "module"
to projectpackage.json
aio app run --local
Additional notes
Due to import when building actions here
The text was updated successfully, but these errors were encountered: