@knapsack/typescript-config-starter 4.70.0--canary.4821.e250df4.0 → 4.70.0--canary.4821.82d27e9.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/typescript-config-starter",
3
3
  "description": "",
4
- "version": "4.70.0--canary.4821.e250df4.0",
4
+ "version": "4.70.0--canary.4821.82d27e9.0",
5
5
  "bin": "./bin.js",
6
6
  "main": "./tsconfig.base.json",
7
7
  "exports": {
@@ -29,11 +29,11 @@
29
29
  "test": "tsc --project ./tsconfig.self-pkg-test.json"
30
30
  },
31
31
  "dependencies": {
32
- "@knapsack/creator-utils": "4.70.0--canary.4821.e250df4.0",
32
+ "@knapsack/creator-utils": "4.70.0--canary.4821.82d27e9.0",
33
33
  "typescript": "^5.5.4"
34
34
  },
35
35
  "devDependencies": {
36
- "@knapsack/eslint-config-starter": "4.70.0--canary.4821.e250df4.0",
36
+ "@knapsack/eslint-config-starter": "4.70.0--canary.4821.82d27e9.0",
37
37
  "eslint": "^8.57.0",
38
38
  "tsup": "^8.2.4"
39
39
  },
@@ -46,5 +46,5 @@
46
46
  "directory": "tools/typescript-config-starter",
47
47
  "type": "git"
48
48
  },
49
- "gitHead": "e250df48da2f11087600f3902a9cd936d30f26c2"
49
+ "gitHead": "82d27e98c26dd8ff00329a2a23ca7f3fc090e144"
50
50
  }
@@ -10,6 +10,8 @@ const baseOptions = defineConfig({
10
10
  dts: true,
11
11
  splitting: false,
12
12
  keepNames: true,
13
+ minify: true,
14
+ treeshake: 'smallest',
13
15
  });
14
16
 
15
17
  module.exports = {
@@ -26,6 +28,7 @@ module.exports = {
26
28
  ...baseOptions,
27
29
  format: ['esm', 'cjs'],
28
30
  // If you're dual-publishing (i.e. --format esm,cjs) and using platform specific API like import.meta.url, __dirname and __filename, you need to manually enable --shims flag now, because import.meta.url won't work in a cjs module, and __dirname, __filename won't work in an esm module.
29
- shims: true,
31
+ // Turning this off as we don't use above situations - leaving commented out instead of deleting so we can turn it back on if needed
32
+ // shims: true,
30
33
  }),
31
34
  };