Enigmatic-Smile/serverless-plugin-optimize

Plugin doesn't work with sequelize and postgres

r3m4k3 opened this issue · 2 comments

Hi there,

I'm trying to use this plugin with sequelize and postgres.
But after installing this plugin I get this error:
Please install pg package manually

What can I do with this?

Best regards

npm i pg

You can pass in a dialectModule when constructing sequelize which you can set to be pg.