@powerlines/plugin-rollup 0.7.671 → 0.7.672

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +28 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -74,6 +74,34 @@ A Powerlines plugin to assist in building projects with [Rollup](https://rollupj
74
74
 
75
75
  <!-- END doctoc -->
76
76
 
77
+ ## Features
78
+
79
+ - Bundles projects with [Rollup](https://rollupjs.org/).
80
+ - Defines bundle behavior fully through the underlying Rollup options.
81
+ - Ships helpers (e.g. option resolution) for plugin development.
82
+
83
+ ## Usage
84
+
85
+ Install the package:
86
+
87
+ ```bash
88
+ pnpm add @powerlines/plugin-rollup
89
+ ```
90
+
91
+ Register the plugin in `powerlines.config.ts`:
92
+
93
+ ```ts
94
+ import { defineConfig } from "powerlines/config";
95
+ import { plugin as rollup } from "@powerlines/plugin-rollup";
96
+
97
+ export default defineConfig({
98
+ plugins: [rollup()],
99
+ rollup: {}
100
+ });
101
+ ```
102
+
103
+ Then run the Powerlines build for your project and check the output directory for the bundle.
104
+
77
105
  ## Installing
78
106
 
79
107
  Using [pnpm](http://pnpm.io):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-rollup",
3
- "version": "0.7.671",
3
+ "version": "0.7.672",
4
4
  "private": false,
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "keywords": ["rollup", "powerlines", "storm-software", "powerlines-plugin"],
@@ -83,8 +83,8 @@
83
83
  "typings": "dist/index.d.mts",
84
84
  "files": ["dist"],
85
85
  "dependencies": {
86
- "@powerlines/core": "^0.48.135",
87
- "@powerlines/unplugin": "^0.0.183",
86
+ "@powerlines/core": "^0.48.136",
87
+ "@powerlines/unplugin": "^0.0.184",
88
88
  "@rollup/plugin-alias": "^6.0.1",
89
89
  "@rollup/plugin-babel": "^7.1.0",
90
90
  "@rollup/plugin-inject": "^5.0.5",
@@ -98,7 +98,7 @@
98
98
  "@stryke/types": "^0.12.44",
99
99
  "defu": "^6.1.7",
100
100
  "jiti": "^2.7.0",
101
- "powerlines": "^0.47.216",
101
+ "powerlines": "^0.47.217",
102
102
  "rollup-plugin-typescript2": "^0.36.0",
103
103
  "unplugin": "^3.4.0"
104
104
  },
@@ -106,5 +106,5 @@
106
106
  "peerDependencies": { "rollup": ">=4.46.4" },
107
107
  "peerDependenciesMeta": { "rollup": { "optional": false } },
108
108
  "publishConfig": { "access": "public" },
109
- "gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
109
+ "gitHead": "bb4e1f2b32a8bb9d20559ca7c3df3a2f30a0d14e"
110
110
  }