From: 
Subject: Debian changes

The Debian packaging of node-csstools-postcss-plugins is maintained in git, using a workflow
similar to the one described in dgit-maint-merge(7).
The Debian delta is represented by this one combined patch; there isn't a
patch queue that can be represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation -- git commits in the packaging repository.
For example, to see the changes made by the Debian maintainer in the first
upload of upstream version 1.2.3, you could use:

    % git clone https://git.dgit.debian.org/node-csstools-postcss-plugins
    % cd node-csstools-postcss-plugins
    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone node-csstools-postcss-plugins`, rather than plain `git clone`.)

We don't use debian/source/options single-debian-patch because it has bugs.
Therefore, NMUs etc. may nevertheless have made additional patches.

---

diff --git a/rollup/presets/package-typescript.mjs b/rollup/presets/package-typescript.mjs
index b336ad62e..bd128b476 100644
--- a/rollup/presets/package-typescript.mjs
+++ b/rollup/presets/package-typescript.mjs
@@ -3,24 +3,22 @@ import path from 'node:path';
 import terser from '@rollup/plugin-terser';
 import typescript from '@rollup/plugin-typescript';
 import { externalsForPlugin } from '../configs/externals.mjs';
-import { apiExtractor } from '../transforms/api-extractor.mjs';
 import { nodeCoverageDisable } from '../transforms/node-coverage-disable.mjs';
 import { nodeResolve } from '@rollup/plugin-node-resolve';
-import { move } from '../transforms/move.mjs';
 
 export function packageTypescript(options = {}) {
 	return [
 		{
 			input: path.join('src', 'index.ts'),
 			output: [
-				{ file: path.join('dist', '_types', 'index.mjs'), format: 'esm', sourcemap: false, exports: 'auto' },
+				{ file: path.join('dist', 'index.mjs'), format: 'esm', sourcemap: false, exports: 'auto' },
 			],
 			external: externalsForPlugin,
 			plugins: [
 				typescript({
 					tsconfig: './tsconfig.json',
 					declaration: true,
-					declarationDir: './dist/_types',
+					declarationDir: './dist',
 					noEmit: false,
 					noEmitOnError: true,
 				}),
@@ -36,11 +34,6 @@ export function packageTypescript(options = {}) {
 					keep_fnames: true,
 				}),
 				options.nodeCoverageDisable ? nodeCoverageDisable() : undefined,
-				move(
-					path.join('dist', '_types', 'index.mjs'),
-					path.join('dist', 'index.mjs'),
-				),
-				apiExtractor(),
 			],
 		},
 	];
