{"library":"rollup-plugin-screeps-ss3","title":"Rollup Plugin Screeps SS3","description":"A Rollup plugin for uploading code to Screeps game servers. Version 1.1.2 supports the unified `.screeps.yaml` credentials file (SS3 standard) as well as legacy JSON config. It automatically applies source maps in Screeps-friendly format and can derive the target branch from the current git branch. Unlike other Screeps plugins, it integrates with the Screepers unified credential standard and offers environment variable overrides for server and branch.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-screeps-ss3"],"cli":null},"imports":["import screeps from 'rollup-plugin-screeps-ss3'","const screeps = require('rollup-plugin-screeps-ss3').default;","import type { ScreepsOptions } from 'rollup-plugin-screeps-ss3';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport screeps from 'rollup-plugin-screeps-ss3';\n\nexport default {\n  input: 'src/main.js',\n  output: {\n    file: 'dist/main.js',\n    format: 'cjs',\n  },\n  sourcemap: true,\n  plugins: [\n    screeps({\n      server: process.env.SCREEPS_SERVER ?? 'main',\n      branch: process.env.SCREEPS_BRANCH ?? 'auto',\n    })\n  ]\n};","lang":"javascript","description":"Example rollup.config.js using the plugin with environment variable overrides for server and branch and source maps enabled.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}