Skip to content

Commit

Permalink
version 0.0.49
Browse files Browse the repository at this point in the history
  • Loading branch information
crystalin committed Oct 30, 2023
1 parent 5317303 commit d2a6a09
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Options:
<html>
<head>
<title>Monitoring</title>
<script src="https://unpkg.com/[email protected].48/dist/index.umd.js" charset="UTF-8" integrity="sha384-cZWwBlX0VaNDJ0oOYvE2KSkFHkJIYSgPqjJX3gCuOvwyTvzNs07mjn3q2RzkBurB" crossorigin="anonymous"></script>
<script src="https://unpkg.com/[email protected].49/dist/index.umd.js" charset="UTF-8" integrity="sha384-cZWwBlX0VaNDJ0oOYvE2KSkFHkJIYSgPqjJX3gCuOvwyTvzNs07mjn3q2RzkBurB" crossorigin="anonymous"></script>
<style>
body {
padding: 2rem;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moonbeam-tools",
"version": "0.0.48",
"version": "0.0.49",
"description": "Set of tools for Moonbeam blockchain",
"exports": {
".": {
Expand Down
25 changes: 25 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,29 @@ export default [
optimizer(),
],
},

// CommonJS (for Node) and ES module (for bundlers) build.
// (We could have three entries in the configuration array
// instead of two, but it's quicker to generate multiple
// builds from a single configuration where possible, using
// an array for the `output` option, where we can specify
// `file` and `format` for each target)
{
input: "src/index.ts",
output: [
{ file: pkg.main, format: "cjs" },
{ file: pkg.module, format: "es" },
],
plugins: [
commonjs({
include: ["node_modules/debug/src/index.js"],
}),
optimizer(),
],
},
{
input: "./build/src/index.d.ts",
output: [{ file: "dist/index.d.ts", format: "es" }],
plugins: [dts()],
},
];

0 comments on commit d2a6a09

Please sign in to comment.