Giter VIP home page Giter VIP logo

serverless-plugin-parcel's Issues

package individually not working

Hey,
I have 2 functions that I'm trying to package separately.
The sls package process generates 2 zips in /.serverless, and they both contain 2 js files, 1 for each function.
Is there a way to do a separate build so every zip will contain only one function?

Crash when multiple functions are defined in serverless.yaml

Hi ๐Ÿ‘‹

Thanks for the plugin, but I'm having an issue when multiple functions are defined into serverless.yaml for instance:

functions:
  foo:
    handler: src/index.foo
    events:
      - http: POST foo
  bar:
    handler: src/index.bar
    events:
      - http: POST bar

๐Ÿšจ Cannot add a worker call if workerfarm is ending.

Do you have any workaround? Cheers.

Custom buildFolder/outDir

I'm trying to keep my local directory structure clean, and I'd like this plugin to use my custom.parcel.outDir setting, rather than the hardcoded buildFolder. It doesn't seem like a particularly big change, and I'd be happy to submit a PR if you're ok with it. Thanks!

is there a possibility to include node_modules as part of the packaged zip

We have issues with dynamic imports with lazy loading on one of our dependencies, parcel doesn't handle that package well. is it possible to include that as an external module in the zip?

In fact, I would prefer keeping all the node_modules as external, while there is an option to not build node_modules, I didn't find any way to add the non-dev node_modules in the generated zip file.

Is there a way to achieve this?

Bundle using Parcel2

Hi,
I have some problems when trying to bundle code that uses @sentry/serverless due to dependency perf_hooks
Parcel errors out: Cannot resolve dependency 'perf_hooks'.

It seems that this issue is solved in parcel2.

Is it possible to use this plugin with this new version?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.