Skip to content

Commit b7c4faf

Browse files
feat: build for release
1 parent 9601e23 commit b7c4faf

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"owner":"technote-space","repo":"gh-actions-template","sha":"FETCH_HEAD","ref":"refs/heads/master","tagName":"test/v0.8.1","branch":"gh-actions","tags":["test/v0.8.1","test/v0.8","test/v0"],"updated_at":"2022-12-01T15:28:11.875Z"}
1+
{"owner":"technote-space","repo":"gh-actions-template","sha":"71504accd3b980e5eebb983d21c26db898051b66","ref":"refs/tags/v0.8.1","tagName":"v0.8.1","branch":"gh-actions","tags":["v0.8.1","v0.8","v0"],"updated_at":"2022-12-01T18:06:20.737Z"}

node_modules/.yarn-integrity

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup.config.mjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import pluginCommonjs from '@rollup/plugin-commonjs';
2+
import pluginJson from '@rollup/plugin-json';
3+
import pluginNodeResolve from '@rollup/plugin-node-resolve';
4+
import pluginTypescript from '@rollup/plugin-typescript';
5+
6+
export default {
7+
input: 'src/main.ts',
8+
output: {
9+
file: 'lib/main.js',
10+
format: 'cjs',
11+
},
12+
plugins: [
13+
pluginTypescript(),
14+
pluginNodeResolve(),
15+
pluginCommonjs(),
16+
pluginJson(),
17+
],
18+
};

0 commit comments

Comments
 (0)