mailtrap-plugin 1.1.2 → 1.1.4

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/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "mailtrap-plugin",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Mailtrap plugin to Flow requests",
5
5
  "main": "./dist/node-bundle.js",
6
6
  "browser": "./dist/browser-bundle.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "type": "module",
9
9
  "scripts": {
10
- "build:deno": "deno bundle -o ./dist/deno-bundle.js ./src/index.ts ",
11
10
  "build": "webpack",
12
11
  "preinstall": "pnpm run build",
13
12
  "start": "tsx src/index.ts",
@@ -31,18 +31,14 @@ const commonConfig = {
31
31
  // Configuration for Node.js bundle
32
32
  const nodeConfig = {
33
33
  ...commonConfig,
34
- target: "node", // Target Node.js environment
34
+ target: "node20", // Target Node.js environment
35
35
  output: {
36
36
  ...commonConfig.output,
37
37
  filename: "node-bundle.js",
38
38
  module: true,
39
- library: {
40
- type: "module", // Output as an ES module
41
- },
42
39
  },
43
40
  // Tells webpack to externalize node_modules
44
41
  // (typically you don't bundle them for Node)
45
- externalsPresets: { node: true },
46
42
  experiments: {
47
43
  outputModule: true, // Enable experimental output module support
48
44
  },