我想使用http触发器作为Webhook来触发webpack工作流,而不是同时进行文件系统事件。 是否可以使用webpack及其插件构建这种工作流程?
Http request | |
+----------------> | Http |
| Watcher +----------+
| | |
| | | +---------------------+
| | | | |
+----------------+ | | |
| | |
+-------> | |
| | WebPack |
| | end |
| | Plugins |
+----------------+ | | |
| | | | |
| Files | | +---------------------+
Files system event | System | |
+---------------> | Watcher +----------+
| |
| |
+----------------+
预先感谢您的建议。