tracker: remove seprate build for common messages
This commit is contained in:
parent
f81395012a
commit
80be8c28da
6 changed files with 6 additions and 16 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@openreplay/tracker",
|
||||
"description": "The OpenReplay tracker main package",
|
||||
"version": "14.0.14-10",
|
||||
"version": "14.0.14-13",
|
||||
"keywords": [
|
||||
"logging",
|
||||
"replay"
|
||||
|
|
@ -34,8 +34,7 @@
|
|||
"scripts": {
|
||||
"lint": "eslint src --ext .ts,.js --fix --quiet",
|
||||
"clean": "rm -Rf build && rm -Rf lib && rm -Rf cjs",
|
||||
"build:common": "tsc -b src/common",
|
||||
"build": "yarn run clean && yarn build:common && rollup --config rollup.config.js",
|
||||
"build": "yarn run clean && rollup --config rollup.config.js",
|
||||
"lint-front": "lint-staged",
|
||||
"test": "jest --coverage=false",
|
||||
"test:ci": "jest --coverage=true",
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ export default async () => {
|
|||
preventAssignment: true,
|
||||
values: {
|
||||
TRACKER_VERSION: packageConfig.version,
|
||||
WEBWORKER_BODY: JSON.stringify(webworkerContent),
|
||||
'global.WEBWORKER_BODY': JSON.stringify(webworkerContent),
|
||||
},
|
||||
}),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"extends": "../../tsconfig-base.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"lib": ["es6"],
|
||||
}
|
||||
}
|
||||
|
|
@ -5,5 +5,4 @@
|
|||
"moduleResolution": "Node",
|
||||
"declarationDir": "../../dist/cjs"
|
||||
},
|
||||
"references": [{ "path": "../common" }]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,5 +6,4 @@
|
|||
"declaration": true,
|
||||
"declarationDir": "../../dist/lib",
|
||||
},
|
||||
"references": [{ "path": "../common" }]
|
||||
}
|
||||
}
|
||||
|
|
@ -13,4 +13,4 @@
|
|||
"resolveJsonModule": true,
|
||||
},
|
||||
"exclude": ["**/*.test.ts"],
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue