Enigmatic-Smile / serverless-plugin-optimize

⛔️ DEPRECATED ⛔️ Bundle with Browserify, transpile and minify with Babel automatically to your NodeJS runtime compatible JavaScript

Home Page:https://www.npmjs.com/package/serverless-plugin-optimize

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

optimize plugin not include some packages?

kop7 opened this issue · comments

I have problem with serverless optimize plugin,

"errorMessage":"package.json does not exist at /var/task/_optimize/xxx/src/.build/node_modules/bcrypt/package.json"

Whay optimize plugin not include this package??

But when I remove optimize plugin, work fine....

You need to add json in the extensions

custom: optimize: extensions: ['.json']