Skip to content

Commit

Permalink
Fix -dev name suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alia5 committed Dec 24, 2022
1 parent 184bc4d commit cbfb066
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default (commandlineargs) => {
replace({
"tag-name": TAG_NAME,
"container-tag-name": CONTAINER_TAG_NAME,
"devModeValue": !production,
"devModeValue": `${!production}`,
"versionStr": process.env.VERSION,
preventAssignment: true,
}),
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ declare global {
const version = 'versionStr';
console.info(`ExpanderCard Version: ${version}`);

const devMode = 'devModeValue' as unknown as boolean;
const devMode = ('devModeValue' as string) === 'true';

window.customCards = window.customCards || [];
window.customCards.push(...[
Expand Down

0 comments on commit cbfb066

Please sign in to comment.