Skip to content

Commit 5083cfa

Browse files
authored
Merge pull request #127 from DataDog/yoann/fix-type-issue
[types] Fix exported type of Options
2 parents b39721b + 364ae29 commit 5083cfa

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Datadog
3+
Copyright (c) 2025 Datadog
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

NOTICE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Datadog build-plugins
2-
Copyright 2024-present Datadog, Inc.
2+
Copyright 2025-present Datadog, Inc.
33

44
This product includes software developed at Datadog (https://www.datadoghq.com/).

packages/published/esbuild-plugin/src/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Anything between #types-export-injection-marker
77
// will be updated using the 'yarn cli integrity' command.
88

9+
import type { Options } from '@dd/core/types';
910
import * as factory from '@dd/factory';
1011
import esbuild from 'esbuild';
1112

@@ -16,7 +17,7 @@ export const datadogEsbuildPlugin = factory.buildPluginFactory({
1617
version: pkg.version,
1718
}).esbuild;
1819

19-
export type { Options as EsbuildPluginOptions } from '@dd/core/types';
20+
export type EsbuildPluginOptions = Options;
2021

2122
export type {
2223
// #types-export-injection-marker

packages/published/rollup-plugin/src/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Anything between #types-export-injection-marker
77
// will be updated using the 'yarn cli integrity' command.
88

9+
import type { Options } from '@dd/core/types';
910
import * as factory from '@dd/factory';
1011
import rollup from 'rollup';
1112

@@ -16,7 +17,7 @@ export const datadogRollupPlugin = factory.buildPluginFactory({
1617
version: pkg.version,
1718
}).rollup;
1819

19-
export type { Options as RollupPluginOptions } from '@dd/core/types';
20+
export type RollupPluginOptions = Options;
2021

2122
export type {
2223
// #types-export-injection-marker

packages/published/rspack-plugin/src/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Anything between #types-export-injection-marker
77
// will be updated using the 'yarn cli integrity' command.
88

9+
import type { Options } from '@dd/core/types';
910
import * as factory from '@dd/factory';
1011
import rspack from '@rspack/core';
1112

@@ -16,7 +17,7 @@ export const datadogRspackPlugin = factory.buildPluginFactory({
1617
version: pkg.version,
1718
}).rspack;
1819

19-
export type { Options as RspackPluginOptions } from '@dd/core/types';
20+
export type RspackPluginOptions = Options;
2021

2122
export type {
2223
// #types-export-injection-marker

packages/published/vite-plugin/src/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Anything between #types-export-injection-marker
77
// will be updated using the 'yarn cli integrity' command.
88

9+
import type { Options } from '@dd/core/types';
910
import * as factory from '@dd/factory';
1011
import vite from 'vite';
1112

@@ -16,7 +17,7 @@ export const datadogVitePlugin = factory.buildPluginFactory({
1617
version: pkg.version,
1718
}).vite;
1819

19-
export type { Options as VitePluginOptions } from '@dd/core/types';
20+
export type VitePluginOptions = Options;
2021

2122
export type {
2223
// #types-export-injection-marker

packages/published/webpack-plugin/src/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Anything between #types-export-injection-marker
77
// will be updated using the 'yarn cli integrity' command.
88

9+
import type { Options } from '@dd/core/types';
910
import * as factory from '@dd/factory';
1011
import webpack from 'webpack';
1112

@@ -16,7 +17,7 @@ export const datadogWebpackPlugin = factory.buildPluginFactory({
1617
version: pkg.version,
1718
}).webpack;
1819

19-
export type { Options as WebpackPluginOptions } from '@dd/core/types';
20+
export type WebpackPluginOptions = Options;
2021

2122
export type {
2223
// #types-export-injection-marker

0 commit comments

Comments
 (0)