Skip to content

Commit

Permalink
fix: change templates back to using JS code gen by default
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
chrispcampbell committed Aug 19, 2024
1 parent 879d9fb commit c33b635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions examples/template-default/sde.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ const corePath = (...parts) => packagePath('core', ...parts)
// If `genFormat` is 'js', the sde compiler will generate JavaScript code that runs
// in the browser or in Node.js without the additional Emscripten build step.
//
// TODO: Until new `@sdeverywhere` packages that support JS code generation are
// published on the npm registry, the only working option here is 'c'. The default
// value will be set to 'js' once those new packages are published.
const genFormat = 'c'
const genFormat = 'js'

export async function config() {
return {
Expand Down
5 changes: 1 addition & 4 deletions examples/template-minimal/sde.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ import { workerPlugin } from '@sdeverywhere/plugin-worker'
// If `genFormat` is 'js', the sde compiler will generate JavaScript code that runs
// in the browser or in Node.js without the additional Emscripten build step.
//
// TODO: Until new `@sdeverywhere` packages that support JS code generation are
// published on the npm registry, the only working option here is 'c'. The default
// value will be set to 'js' once those new packages are published.
const genFormat = 'c'
const genFormat = 'js'

export async function config() {
return {
Expand Down

0 comments on commit c33b635

Please sign in to comment.