Skip to content

Commit 74d23e5

Browse files
committed
Rename dist/cql4browsers.js --> dist/exec-age.js
1 parent a145eeb commit 74d23e5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/browser/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<title>CQL Execution Browser Example</title>
7-
<script src="dist/cql4browsers.js"></script>
7+
<script src="dist/exec-age.js"></script>
88
<script>
99
function renderPatients() {
1010
const tableBody = document.getElementById('patients');

examples/browser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"private": true,
55
"type": "module",
66
"scripts": {
7-
"build": "esbuild exec-age.js --bundle --platform=browser --format=iife --target=es2020 --outfile=dist/cql4browsers.js",
8-
"dev": "esbuild exec-age.js --bundle --platform=browser --format=iife --target=es2020 --outfile=dist/cql4browsers.js --servedir=. --watch",
7+
"build": "esbuild exec-age.js --bundle --platform=browser --format=iife --target=es2020 --outfile=dist/exec-age.js",
8+
"dev": "esbuild exec-age.js --bundle --platform=browser --format=iife --target=es2020 --outfile=dist/exec-age.js --servedir=. --watch",
99
"test": "npm run build && node --test test/browser.test.js"
1010
},
1111
"dependencies": {

examples/browser/test/browser.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import fs from 'node:fs';
33
import test from 'node:test';
44
import vm from 'node:vm';
55

6-
const bundleUrl = new URL('../dist/cql4browsers.js', import.meta.url);
6+
const bundleUrl = new URL('../dist/exec-age.js', import.meta.url);
77

88
function loadBrowserBundle() {
99
const context = vm.createContext({ console });

0 commit comments

Comments
 (0)