Skip to content

Commit

Permalink
Merge pull request #275 from finn-no/add-hybrid-bridge
Browse files Browse the repository at this point in the history
feat: add @podium/bridge to eik
  • Loading branch information
tor0405 authored Jun 12, 2024
2 parents 74dd6be + 1268d81 commit 0f10200
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/bridge/esbuild.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { createRequire } from "module";
import esbuild from "esbuild";

const { resolve } = createRequire(import.meta.url);

await esbuild.build({
entryPoints: [resolve("@podium/bridge")],
bundle: true,
minify: true,
format: "esm",
outfile: "./dist/index.js",
target: ["es2017"],
sourcemap: true,
});
23 changes: 23 additions & 0 deletions packages/bridge/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "podium-bride",
"version": "0.0.0",
"description": "Podium hybrid bridge",
"type": "module",
"scripts": {
"copy": "echo 'noop';",
"build": "node ./esbuild.js",
"eik:login": "eik login",
"eik:publish": "eik publish",
"eik:alias": "eik npm-alias",
"eik:publish:ci": "../../scripts/publish.js bridge @podium/bridge"
},
"dependencies": {
"@podium/bridge": "^1.2.2"
},
"eik": {
"name": "@podium/bridge",
"server": "https://assets.finn.no",
"type": "npm",
"files": "dist"
}
}

0 comments on commit 0f10200

Please sign in to comment.