Skip to content

Rollup Plugin for publishing your code to a Screeps server

Notifications You must be signed in to change notification settings

aclarke822/rollup-plugin-screeps

 
 

Repository files navigation

Rollup Screeps Plugin

Install

[]

Usage

In rollup.config.js

import screeps from "[]";

...

export default {
  ...
  sourcemap: true, // If set to true your source maps will be made screeps friendly and uploaded

  plugins: [
    ...
    screeps({configFile: "./screeps.json"})
  ]
}

Config File

[] needs your screeps username/password and the server to upload to.

{
  "email": "[email protected]",
  "password": "pass",
  "protocol": "https",
  "hostname": "screeps.com",
  "port": 443,
  "path": "/",
  "branch": "auto"
}

If branch is set to "auto" rollup-plugin-screeps will use your current git branch as the name of the branch on screeps, if you set it to anything else that string will be used as the name of the branch.

About

Rollup Plugin for publishing your code to a Screeps server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%