build: pack tsc build
ADD
packages/import-bundle/jsconfig.build.json
+{
+ "extends": "./jsconfig.json",
+ "compilerOptions": {
+ "noEmit": false,
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "declarationMap": true
+ },
+ "exclude": ["test/"]
+}

MODIFY
packages/import-bundle/package.json
packages/import-bundle/package.json
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"build": "exit 0",
- "lint-check": "yarn lint",
+ "prepack": "tsc --build jsconfig.build.json",
+ "postpack": "git clean -f '*.d.ts*'",
"lint-fix": "eslint --fix '**/*.js'",
"lint": "yarn lint:types && yarn lint:eslint",
"lint:eslint": "eslint .",

build: pack tsc build