Comments (1)
깔끔한 정리 감사합니다 👍
serverless-plugin-scripts
가 사용하는 webpack:package:packageModules
이벤트가 serverless-webpack
의 webpack:package:packageModules
이벤트보다 먼저 실행되어야 기대대로 동작하는데요, 이런 hooks의 실행 순서가 plugins
에 등록한 순서대로 동작하다보니 순서가 뒤바뀔 경우 문제가 발생할 수 있습니다. serverless-offline
플러그인 설명할 때 간략히 설명하고 넘어가다보니, 이쪽에서의 설명이 부족했던 것 같습니다.
자세한 수행 단계는 다음과 같습니다.
serverless-webpack
의 webpack이webpack:compile:compile
단계에서.webpack/service
디렉토리에 번들을 생성합니다.serverless-plugin-scripts
가webpack:package:packageModules
가 실행되기 전에jpegoptim.tar.gz
파일을.webpack/service
디렉토리에 복사합니다.aws-lambda/301-photo-optimizer/serverless.ts
Lines 31 to 32 in ee363ef
serverless-webpack
의webpack:package:packageModules
단계에서.webpack/service
디렉토리를 zip으로 압축합니다.
참고 바랍니다. 🙇
from aws-lambda.
Related Issues (5)
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 aws-lambda.