Skip to content

Commit

Permalink
fix: cdn url
Browse files Browse the repository at this point in the history
  • Loading branch information
koladilip committed Jun 12, 2024
1 parent 4bad08f commit 4af977d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/cdn-sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2>Output:</h2>
</div>
</div>
<script
src="https://transformers-workflow-engine.rudderstack.com/libs/rudder-json-template-engine.v0.11.4.js"
src="https://transformers-workflow-engine.rudderstack.com/libs/rudder-json-template-engine.0.11.5.js"
></script>
<script>
const template = document.getElementById('template');
Expand Down
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@ engine.evaluate({ name: 'World' }); // => 'Hello World'
### Use CDN directly in the browser
[//]: <> (x-release-please-start-version)

URL: https://transformers-workflow-engine.rudderstack.com/libs/rudder-json-template-engine.v0.11.4.js
URL: https://transformers-workflow-engine.rudderstack.com/libs/rudder-json-template-engine.0.11.5.js

[//]: <> (x-release-please-end)

Refer this [example](public/cdn-sample.html) for more details.

## Features

Template is a set of statements and result the last statement is the output of the template.
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineConfig({
lib: {
entry: resolve(__dirname, 'src/index.ts'),
formats: ['es'],
fileName: () => `rudder-json-template-engine.v${version}.js`,
fileName: () => `rudder-json-template-engine.${version}.js`,
},
},
resolve: { alias: { src: resolve('src/') } },
Expand Down

0 comments on commit 4af977d

Please sign in to comment.