Closed steffenrosi closed 3 years ago
Thanks @steffenrosi for reporting the issue.
Workaround: build zip action instead of bundle with webpack
manifest.yml
to point to actions/hello
instead of actions/hello/index.js
package.json
in the actions/hello
folder with the following content:
{
"dependencies": {
"inline-css": "^2.5.1"
}
}
@moritzraho what would be the long-term solution? Allow developers to provide their own webpack configuration?
Expected Behaviour
Normal packaging and deployment
Actual Behaviour
Error when executing
aio app run --local
Reproduce Scenario (including but not limited to)
const inlineCss = require('inline-css');
toindex.js
aio app run --local
Steps to Reproduce
Platform and Version
mac osx 10.14.5 node v13.2.0 npm 6.13.1
Sample Code that illustrates the problem
Logs taken while reproducing problem