Skip to content

Commit

Permalink
feat: build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 1, 2022
1 parent 9601e23 commit b7c4faf
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.json
Original file line number Diff line number Diff line change
@@ -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"}
{"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"}
2 changes: 1 addition & 1 deletion node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import pluginCommonjs from '@rollup/plugin-commonjs';
import pluginJson from '@rollup/plugin-json';
import pluginNodeResolve from '@rollup/plugin-node-resolve';
import pluginTypescript from '@rollup/plugin-typescript';

export default {
input: 'src/main.ts',
output: {
file: 'lib/main.js',
format: 'cjs',
},
plugins: [
pluginTypescript(),
pluginNodeResolve(),
pluginCommonjs(),
pluginJson(),
],
};

0 comments on commit b7c4faf

Please sign in to comment.