@datadog/webpack-plugin 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # webpack
@@ -0,0 +1,2 @@
1
+ export declare const datadogWebpackPlugin: (options: import("@dd/factory").Options) => WebpackPluginInstance;
2
+ export default datadogWebpackPlugin;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // Unless explicitly stated otherwise all files in this repository are licensed under the MIT License.
3
+ // This product includes software developed at Datadog (https://www.datadoghq.com/).
4
+ // Copyright 2019-Present Datadog, Inc.
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.datadogWebpackPlugin = void 0;
7
+ const factory_1 = require("@dd/factory");
8
+ exports.datadogWebpackPlugin = (0, factory_1.buildPluginFactory)().webpack;
9
+ exports.default = exports.datadogWebpackPlugin;
10
+ module.exports = exports.datadogWebpackPlugin;
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,sGAAsG;AACtG,oFAAoF;AACpF,uCAAuC;;;AAEvC,yCAAiD;AAEpC,QAAA,oBAAoB,GAAG,IAAA,4BAAkB,GAAE,CAAC,OAAO,CAAC;AACjE,kBAAe,4BAAoB,CAAC;AACpC,MAAM,CAAC,OAAO,GAAG,4BAAoB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "@datadog/webpack-plugin",
3
+ "packageManager": "yarn@4.0.2",
4
+ "version": "0.0.1",
5
+ "private": false,
6
+ "license": "MIT",
7
+ "author": "Datadog",
8
+ "main": "./dist/src/index.js",
9
+ "exports": {
10
+ "./package.json": "./package.json",
11
+ ".": "./dist/src/index.js",
12
+ "./*": "./dist/src/*.js"
13
+ },
14
+ "publishConfig": {
15
+ "access": "public",
16
+ "exports": {
17
+ "./package.json": "./package.json",
18
+ ".": "./dist/src/index.js",
19
+ "./*": "./dist/src/*.js"
20
+ }
21
+ },
22
+ "scripts": {
23
+ "build": "yarn clean && tsc",
24
+ "clean": "rm -rf dist",
25
+ "prepack": "yarn build",
26
+ "typecheck": "tsc --noEmit",
27
+ "watch": "tsc -w"
28
+ },
29
+ "devDependencies": {
30
+ "typescript": "5.4.3"
31
+ },
32
+ "dependencies": {
33
+ "@datadog/build-plugins-core": "0.0.0",
34
+ "@dd/factory": "0.0.0",
35
+ "webpack": "5.49.0"
36
+ },
37
+ "peerDependencies": {
38
+ "webpack": ">= 4.x < 6.x"
39
+ }
40
+ }
package/src/index.ts ADDED
@@ -0,0 +1,9 @@
1
+ // Unless explicitly stated otherwise all files in this repository are licensed under the MIT License.
2
+ // This product includes software developed at Datadog (https://www.datadoghq.com/).
3
+ // Copyright 2019-Present Datadog, Inc.
4
+
5
+ import { buildPluginFactory } from '@dd/factory';
6
+
7
+ export const datadogWebpackPlugin = buildPluginFactory().webpack;
8
+ export default datadogWebpackPlugin;
9
+ module.exports = datadogWebpackPlugin;
package/tsconfig.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "baseUrl": "./",
5
+ "rootDir": "./",
6
+ "outDir": "./dist"
7
+ },
8
+ "include": ["**/*"],
9
+ "exclude": ["dist", "node_modules"]
10
+ }