Skip to content

Commit

Permalink
dev build
Browse files Browse the repository at this point in the history
  • Loading branch information
hashancgx committed Jan 8, 2025
1 parent b358a63 commit 20c09a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A convenient event tracker API which sends events to multiple consumers",
"main": "dist/siddi.js",
"scripts": {
"build": "MATOMO_OFFSET=3 webpack --mode=production",
"build": "tsc",
"build:dev": "MATOMO_OFFSET=3 webpack --mode=development",
"build:prod": "MATOMO_OFFSET=0 webpack --mode=production",
"lint": "prettier --print-width 120 --single-quote --trailing-comma es5 --write \"src/**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const prepareMatomoDimensions = (eventProperties: any) => {
if (!regexParts[1]) {
return { ...evProps, [k]: v };
}
return { ...evProps, [`dimension${parseInt(regexParts[1]) + WEBPACK_INJECT___MATOMO_DIMENSION_OFFSET}`]: v };
return { ...evProps, [`dimension${parseInt(regexParts[1]) + 3}`]: v };
}, {});
};

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"module": "es2015",
"lib": [ "dom", "es2015", "es2017" ],
"declaration": true,
"sourceMap": true,
Expand Down

0 comments on commit 20c09a2

Please sign in to comment.