A template for quickly developing projects with Typescript and Rollup.
# Clone it from Github.
$ git clonehttps://github.com/HarryXiong24/rollup-ts-starter.git
$ cd rollup-ts-starter
# If you want to use yarn.
yarn install
yarn dev
yarn build
# If you want to use npm.
npm install
npm run dev
npm run build
The simple example is located in the examples folder, so the packaging file entry set by Webpack is located in index.ts under the examples folder.
The file in the directory under src is just an empty file. Please modify it yourself according to your needs.