@intlayer/webpack 3.4.8 → 3.5.0

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.
@@ -22,10 +22,9 @@ __export(webpack_plugin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(webpack_plugin_exports);
24
24
  var import_chokidar = require("@intlayer/chokidar");
25
- const persistent = process.env.NODE_ENV === "development";
26
25
  class IntLayerPlugin {
27
26
  apply() {
28
- (0, import_chokidar.watch)({ persistent });
27
+ (0, import_chokidar.watch)();
29
28
  }
30
29
  }
31
30
  // Annotate the CommonJS export names for ESM import in node:
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/webpack-plugin.ts"],"sourcesContent":["import { watch } from '@intlayer/chokidar';\n\n// Watch mode or on time build\nconst persistent = process.env.NODE_ENV === 'development';\n\nexport class IntLayerPlugin {\n apply(): void {\n watch({ persistent });\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAsB;AAGtB,MAAM,aAAa,QAAQ,IAAI,aAAa;AAErC,MAAM,eAAe;AAAA,EAC1B,QAAc;AACZ,+BAAM,EAAE,WAAW,CAAC;AAAA,EACtB;AACF;","names":[]}
1
+ {"version":3,"sources":["../../src/webpack-plugin.ts"],"sourcesContent":["import { watch } from '@intlayer/chokidar';\n\n// Watch mode or on time build\nexport class IntLayerPlugin {\n apply(): void {\n watch();\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAsB;AAGf,MAAM,eAAe;AAAA,EAC1B,QAAc;AACZ,+BAAM;AAAA,EACR;AACF;","names":[]}
@@ -1,8 +1,7 @@
1
1
  import { watch } from "@intlayer/chokidar";
2
- const persistent = process.env.NODE_ENV === "development";
3
2
  class IntLayerPlugin {
4
3
  apply() {
5
- watch({ persistent });
4
+ watch();
6
5
  }
7
6
  }
8
7
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/webpack-plugin.ts"],"sourcesContent":["import { watch } from '@intlayer/chokidar';\n\n// Watch mode or on time build\nconst persistent = process.env.NODE_ENV === 'development';\n\nexport class IntLayerPlugin {\n apply(): void {\n watch({ persistent });\n }\n}\n"],"mappings":"AAAA,SAAS,aAAa;AAGtB,MAAM,aAAa,QAAQ,IAAI,aAAa;AAErC,MAAM,eAAe;AAAA,EAC1B,QAAc;AACZ,UAAM,EAAE,WAAW,CAAC;AAAA,EACtB;AACF;","names":[]}
1
+ {"version":3,"sources":["../../src/webpack-plugin.ts"],"sourcesContent":["import { watch } from '@intlayer/chokidar';\n\n// Watch mode or on time build\nexport class IntLayerPlugin {\n apply(): void {\n watch();\n }\n}\n"],"mappings":"AAAA,SAAS,aAAa;AAGf,MAAM,eAAe;AAAA,EAC1B,QAAc;AACZ,UAAM;AAAA,EACR;AACF;","names":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"webpack-plugin.d.ts","sourceRoot":"","sources":["../../src/webpack-plugin.ts"],"names":[],"mappings":"AAKA,qBAAa,cAAc;IACzB,KAAK,IAAI,IAAI;CAGd"}
1
+ {"version":3,"file":"webpack-plugin.d.ts","sourceRoot":"","sources":["../../src/webpack-plugin.ts"],"names":[],"mappings":"AAGA,qBAAa,cAAc;IACzB,KAAK,IAAI,IAAI;CAGd"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/webpack",
3
- "version": "3.4.8",
3
+ "version": "3.5.0",
4
4
  "private": false,
5
5
  "description": "Webpack application for IntLayer - Transpile Intlayer declaration files into dictionaries using webpack.",
6
6
  "keywords": [
@@ -65,8 +65,8 @@
65
65
  "rimraf": "^6.0.1",
66
66
  "webpack": "^5.96.1",
67
67
  "webpack-dev-server": "^5.1.0",
68
- "@intlayer/chokidar": "^3.4.8",
69
- "@intlayer/config": "^3.4.8"
68
+ "@intlayer/config": "^3.5.0",
69
+ "@intlayer/chokidar": "^3.5.0"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@changesets/cli": "2.27.10",
@@ -79,14 +79,14 @@
79
79
  "tsup": "^8.3.5",
80
80
  "typescript": "^5.7.2",
81
81
  "@utils/eslint-config": "^1.0.4",
82
+ "@utils/ts-config": "^1.0.4",
82
83
  "@utils/ts-config-types": "^1.0.4",
83
- "@utils/tsup-config": "^1.0.4",
84
- "@utils/ts-config": "^1.0.4"
84
+ "@utils/tsup-config": "^1.0.4"
85
85
  },
86
86
  "peerDependencies": {
87
87
  "webpack": "^5.96.1",
88
- "@intlayer/config": "^3.4.8",
89
- "@intlayer/chokidar": "^3.4.8"
88
+ "@intlayer/chokidar": "^3.5.0",
89
+ "@intlayer/config": "^3.5.0"
90
90
  },
91
91
  "engines": {
92
92
  "node": ">=14.18"