init-me-seed-rollup
raw JSON → 1.0.9 verified Fri May 01 auth: no javascript
A seed template for the init-me scaffolding tool, specifically for creating Rollup-based projects. Version 1.0.9, released with low cadence. It provides a pre-configured Rollup setup for bundling JavaScript/TypeScript libraries, targeting Node.js >=14. Differentiators: integrates seamlessly with init-me for quick project generation, includes TypeScript support out of the box.
Common errors
error Cannot find module 'init-me' ↓
cause init-me is not installed globally.
fix
Run
npm install -g init-me or use npx init-me. error Error: Missing template 'init-me-seed-rollup' ↓
cause The seed might be misspelled or not installed.
fix
Ensure you have installed the seed:
npm install -g init-me-seed-rollup or use npx. Warnings
gotcha This package is a seed template, not a library. Do not install as a dependency in your project. ↓
fix Use npx init-me init-me-seed-rollup <project-name> to scaffold a new project.
Install
npm install init-me-seed-rollup yarn add init-me-seed-rollup pnpm add init-me-seed-rollup Imports
- default wrong
import * from 'init-me-seed-rollup'correctn/a - this is a seed, not a library - Seed wrong
import { Seed } from 'init-me-seed-rollup'correctn/a - use via CLI: init-me seed-rollup
Quickstart
npx init-me init-me-seed-rollup my-project
cd my-project
npm install
npm run build