Skip to content

Commit

Permalink
Enable Lit development mode
Browse files Browse the repository at this point in the history
  • Loading branch information
niedzielski committed Dec 28, 2023
1 parent a4d84ec commit 0e703a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ await fs.writeFile(
/** @type {esbuild.BuildOptions} */
const opts = {
bundle: true,
conditions: watch ? ['development'] : [], // Lit
define: {
'globalThis.version': `'${pkg.version}'`,
'globalThis.devvitVersion': `'${pkg.devDependencies['@devvit/public-api']}'`
Expand Down

0 comments on commit 0e703a9

Please sign in to comment.