Comments (3)
I think there are two options that could achieve this.
- Customize the
package
behavior, which means you do the whole package work and decide what would be packaged and how. - Customize the
after:package
behavior, which means you could change the file after the package file generated (unzip, change, and zip)
Would any of these two work for you?
from serverless-scriptable-plugin.
This issue has now been marked as stale because there hasn't been any activity on this issue recently. It will be closed if no further activity occurs. Thank you for your contributions.
from serverless-scriptable-plugin.
sorry to reactivate this issue, but could @weixu365 give an example of how to do it with unzip, change and zip?
from serverless-scriptable-plugin.
Related Issues (20)
- scripts should be given a callback to define when work is done HOT 4
- Dependency Dashboard
- how to run "npm install --arch=x64 --platform=linux sharp" before zip happen on Mac HOT 3
- require local files in script HOT 1
- Improve maintenance on npm website HOT 1
- Stacktrace to `runCommand` should not be printed when command fails HOT 3
- serverless deploy only function does not trigger command HOT 1
- How to reference serverless variables in bash script HOT 5
- Deprecated hook "after:deploy:createDeploymentArtifacts" on Serverless 1.41.1 HOT 2
- List of hooks HOT 3
- Issue running this plugin with docker HOT 2
- scripthooks Not working with separate yml file HOT 2
- [Question] serverless-scriptable vs serverless-offline HOT 2
- Exit code HOT 8
- Action Required: Fix Renovate Configuration
- PR suggestion: command HOT 27
- Better name for runcmd HOT 10
- Serverless variables aren't being resolved anymore HOT 16
- Can't seem to get this to fire before another plugin... HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-scriptable-plugin.