mirror of
https://github.com/obra/superpowers.git
synced 2026-04-21 08:59:04 +08:00
Bundle brainstorm server dependencies instead of requiring npm install
Vendor node_modules into the repo so the brainstorm server works immediately on fresh plugin installs without needing npm at runtime.
This commit is contained in:
8
skills/brainstorming/scripts/node_modules/ws/browser.js
generated
vendored
Normal file
8
skills/brainstorming/scripts/node_modules/ws/browser.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function () {
|
||||
throw new Error(
|
||||
'ws does not work in the browser. Browser clients must use the native ' +
|
||||
'WebSocket object'
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user