@intlayer/webpack 8.1.10 → 8.2.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.
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./_virtual/_rolldown/runtime.cjs`),t=require(`./utils.cjs`);let n=require(`fast-glob`);n=e.__toESM(n);const r=e=>{let{content:r}=e,{watchedFilesPatternWithPath:i}=r;return n.default.sync(i).reduce((e,n)=>{let r=t.getFileHash(n);return e[`intlayer-content/${r}`]={import:n,dependOn:void 0},e},{})};exports.getEntries=r;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./_virtual/_rolldown/runtime.cjs`);let t=require(`@intlayer/chokidar/utils`),n=require(`fast-glob`);n=e.__toESM(n);const r=e=>{let{content:r}=e,{watchedFilesPatternWithPath:i}=r;return n.default.sync(i).reduce((e,n)=>{let r=(0,t.getPathHash)(n);return e[`intlayer-content/${r}`]={import:n,dependOn:void 0},e},{})};exports.getEntries=r;
2
2
  //# sourceMappingURL=getEntries.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEntries.cjs","names":["fg","getFileHash"],"sources":["../../src/getEntries.ts"],"sourcesContent":["import type { IntlayerConfig } from '@intlayer/types';\nimport fg from 'fast-glob';\nimport type { EntryObject } from 'webpack';\nimport { getFileHash } from './utils';\n\nexport const getEntries = (configuration: IntlayerConfig) => {\n const { content } = configuration;\n const { watchedFilesPatternWithPath } = content;\n\n const entries = fg.sync(watchedFilesPatternWithPath).reduce((obj, el) => {\n const hash = getFileHash(el);\n\n obj[`intlayer-content/${hash}`] = {\n import: el,\n dependOn: undefined,\n };\n\n return obj;\n }, {} as EntryObject);\n\n return entries;\n};\n"],"mappings":"0LAKA,MAAa,EAAc,GAAkC,CAC3D,GAAM,CAAE,WAAY,EACd,CAAE,+BAAgC,EAaxC,OAXgBA,EAAAA,QAAG,KAAK,EAA4B,CAAC,QAAQ,EAAK,IAAO,CACvE,IAAM,EAAOC,EAAAA,YAAY,EAAG,CAO5B,MALA,GAAI,oBAAoB,KAAU,CAChC,OAAQ,EACR,SAAU,IAAA,GACX,CAEM,GACN,EAAE,CAAgB"}
1
+ {"version":3,"file":"getEntries.cjs","names":["fg"],"sources":["../../src/getEntries.ts"],"sourcesContent":["import { getPathHash } from '@intlayer/chokidar/utils';\nimport type { IntlayerConfig } from '@intlayer/types';\nimport fg from 'fast-glob';\nimport type { EntryObject } from 'webpack';\n\nexport const getEntries = (configuration: IntlayerConfig) => {\n const { content } = configuration;\n const { watchedFilesPatternWithPath } = content;\n\n const entries = fg.sync(watchedFilesPatternWithPath).reduce((obj, el) => {\n const hash = getPathHash(el);\n\n obj[`intlayer-content/${hash}`] = {\n import: el,\n dependOn: undefined,\n };\n\n return obj;\n }, {} as EntryObject);\n\n return entries;\n};\n"],"mappings":"uMAKA,MAAa,EAAc,GAAkC,CAC3D,GAAM,CAAE,WAAY,EACd,CAAE,+BAAgC,EAaxC,OAXgBA,EAAAA,QAAG,KAAK,EAA4B,CAAC,QAAQ,EAAK,IAAO,CACvE,IAAM,GAAA,EAAA,EAAA,aAAmB,EAAG,CAO5B,MALA,GAAI,oBAAoB,KAAU,CAChC,OAAQ,EACR,SAAU,IAAA,GACX,CAEM,GACN,EAAE,CAAgB"}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./_virtual/_rolldown/runtime.cjs`);let t=require(`node:path`);t=e.__toESM(t);let n=require(`node:url`),r=require(`@intlayer/config/utils`),i=require(`crypto-js`);i=e.__toESM(i);const a=()=>{let e=r.isESModule?(0,n.fileURLToPath)(require(`url`).pathToFileURL(__filename).href):require(`node:url`).pathToFileURL(__filename).toString();globalThis.__filename=globalThis.__filename??e,globalThis.__dirname=globalThis.__dirname??t.default.dirname(__filename)},o=e=>i.default.SHA3(e).toString(i.default.enc.Base64).replace(/[^A-Z\d]/gi,``).substring(0,20);exports.defineDirname=a,exports.getFileHash=o;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./_virtual/_rolldown/runtime.cjs`);let t=require(`node:path`);t=e.__toESM(t);let n=require(`node:url`),r=require(`@intlayer/config/utils`);const i=()=>{let e=r.isESModule?(0,n.fileURLToPath)(require(`url`).pathToFileURL(__filename).href):require(`node:url`).pathToFileURL(__filename).toString();globalThis.__filename=globalThis.__filename??e,globalThis.__dirname=globalThis.__dirname??t.default.dirname(__filename)};exports.defineDirname=i;
2
2
  //# sourceMappingURL=utils.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.cjs","names":["isESModule","path","crypto"],"sources":["../../src/utils.ts"],"sourcesContent":["import path from 'node:path';\nimport { fileURLToPath } from 'node:url';\nimport { isESModule } from '@intlayer/config/utils';\nimport crypto from 'crypto-js';\n\n/**\n * Set the __dirname global variable to make the config work in both ESM and CJS environments\n */\nexport const defineDirname = () => {\n const filename = isESModule\n ? fileURLToPath(import.meta.url)\n : require('node:url').pathToFileURL(__filename).toString();\n\n globalThis.__filename = globalThis.__filename ?? filename;\n globalThis.__dirname = globalThis.__dirname ?? path.dirname(__filename);\n};\n\nexport const getFileHash = (filePath: string) => {\n const hash = crypto.SHA3(filePath);\n\n return hash\n .toString(crypto.enc.Base64)\n .replace(/[^A-Z\\d]/gi, '')\n .substring(0, 20);\n};\n"],"mappings":"qQAQA,MAAa,MAAsB,CACjC,IAAM,EAAWA,EAAAA,YAAAA,EAAAA,EAAAA,eAAAA,QAAAA,MAAAA,CAAAA,cAAAA,WAAAA,CAAAA,KACiB,CAC9B,QAAQ,WAAW,CAAC,cAAc,WAAW,CAAC,UAAU,CAE5D,WAAW,WAAa,WAAW,YAAc,EACjD,WAAW,UAAY,WAAW,WAAaC,EAAAA,QAAK,QAAQ,WAAW,EAG5D,EAAe,GACbC,EAAAA,QAAO,KAAK,EAAS,CAG/B,SAASA,EAAAA,QAAO,IAAI,OAAO,CAC3B,QAAQ,aAAc,GAAG,CACzB,UAAU,EAAG,GAAG"}
1
+ {"version":3,"file":"utils.cjs","names":["isESModule","path"],"sources":["../../src/utils.ts"],"sourcesContent":["import path from 'node:path';\nimport { fileURLToPath } from 'node:url';\nimport { isESModule } from '@intlayer/config/utils';\n\n/**\n * Set the __dirname global variable to make the config work in both ESM and CJS environments\n */\nexport const defineDirname = () => {\n const filename = isESModule\n ? fileURLToPath(import.meta.url)\n : require('node:url').pathToFileURL(__filename).toString();\n\n globalThis.__filename = globalThis.__filename ?? filename;\n globalThis.__dirname = globalThis.__dirname ?? path.dirname(__filename);\n};\n"],"mappings":"+NAOA,MAAa,MAAsB,CACjC,IAAM,EAAWA,EAAAA,YAAAA,EAAAA,EAAAA,eAAAA,QAAAA,MAAAA,CAAAA,cAAAA,WAAAA,CAAAA,KACiB,CAC9B,QAAQ,WAAW,CAAC,cAAc,WAAW,CAAC,UAAU,CAE5D,WAAW,WAAa,WAAW,YAAc,EACjD,WAAW,UAAY,WAAW,WAAaC,EAAAA,QAAK,QAAQ,WAAW"}
@@ -1,2 +1,2 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`./_virtual/_rolldown/runtime.cjs`);const e=require(`./utils.cjs`),t=require(`./getEntries.cjs`),n=require(`./webpack-plugin.cjs`);let r=require(`node:path`),i=require(`@intlayer/config/node`);const a={hot:!0,open:!1,liveReload:!1,compress:!0,historyApiFallback:!1,host:`localhost`,port:8080,watchFiles:`./src/`,devMiddleware:{writeToDisk:!0},static:{}},o=(o=(0,i.getConfiguration)())=>{let{fileExtensions:s}=o.content;return e.defineDirname(),{mode:`production`,target:`node`,entry:t.getEntries(o),output:{clean:!0,library:`IntlLayerContent`,libraryTarget:`umd`,filename:`[name].bundle.js`},cache:!1,devtool:`source-map`,ignoreWarnings:[/./],resolve:{extensions:[`.ts`,`.js`,`.json`,`.wasm`,`.ts`,`.tsx`,`.mjs`,`.cjs`],modules:[(0,r.join)(globalThis.__dirname,`..`,`node_modules`),(0,r.join)(process.cwd(),`node_modules`),(0,r.join)(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`),(0,r.join)(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`,`@intlayer/webpack`,`node_modules`)]},resolveLoader:{modules:[(0,r.join)(process.cwd(),`node_modules`),(0,r.join)(process.cwd(),`node_modules`,`@intlayer/webpack`,`node_modules`),(0,r.join)(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`,`@intlayer/webpack`,`node_modules`)]},module:{rules:[{test:RegExp(`(${s.join(`|`)})$`),use:[{loader:`esbuild-loader`,options:{target:`es2015`}}]},{test:/\.node$/,loader:`node-loader`},{test:/\.(jsx|js|ts|tsx|mjs|cjs)?$/,loader:`esbuild-loader`,options:{target:`es2015`}}]},devServer:a,plugins:[new n.IntlayerPlugin(o)]}};exports.default=o,exports.getWebpackConfig=o,exports.devServerConfig=a;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`./_virtual/_rolldown/runtime.cjs`);const e=require(`./getEntries.cjs`),t=require(`./utils.cjs`),n=require(`./webpack-plugin.cjs`);let r=require(`node:path`),i=require(`@intlayer/config/node`);const a={hot:!0,open:!1,liveReload:!1,compress:!0,historyApiFallback:!1,host:`localhost`,port:8080,watchFiles:`./src/`,devMiddleware:{writeToDisk:!0},static:{}},o=(o=(0,i.getConfiguration)())=>{let{fileExtensions:s}=o.content;return t.defineDirname(),{mode:`production`,target:`node`,entry:e.getEntries(o),output:{clean:!0,library:`IntlLayerContent`,libraryTarget:`umd`,filename:`[name].bundle.js`},cache:!1,devtool:`source-map`,ignoreWarnings:[/./],resolve:{extensions:[`.ts`,`.js`,`.json`,`.wasm`,`.ts`,`.tsx`,`.mjs`,`.cjs`],modules:[(0,r.join)(globalThis.__dirname,`..`,`node_modules`),(0,r.join)(process.cwd(),`node_modules`),(0,r.join)(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`),(0,r.join)(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`,`@intlayer/webpack`,`node_modules`)]},resolveLoader:{modules:[(0,r.join)(process.cwd(),`node_modules`),(0,r.join)(process.cwd(),`node_modules`,`@intlayer/webpack`,`node_modules`),(0,r.join)(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`,`@intlayer/webpack`,`node_modules`)]},module:{rules:[{test:RegExp(`(${s.join(`|`)})$`),use:[{loader:`esbuild-loader`,options:{target:`es2015`}}]},{test:/\.node$/,loader:`node-loader`},{test:/\.(jsx|js|ts|tsx|mjs|cjs)?$/,loader:`esbuild-loader`,options:{target:`es2015`}}]},devServer:a,plugins:[new n.IntlayerPlugin(o)]}};exports.default=o,exports.getWebpackConfig=o,exports.devServerConfig=a;
2
2
  //# sourceMappingURL=webpack.config.cjs.map
@@ -1,2 +1,2 @@
1
- import{getFileHash as e}from"./utils.mjs";import t from"fast-glob";const n=n=>{let{content:r}=n,{watchedFilesPatternWithPath:i}=r;return t.sync(i).reduce((t,n)=>{let r=e(n);return t[`intlayer-content/${r}`]={import:n,dependOn:void 0},t},{})};export{n as getEntries};
1
+ import{getPathHash as e}from"@intlayer/chokidar/utils";import t from"fast-glob";const n=n=>{let{content:r}=n,{watchedFilesPatternWithPath:i}=r;return t.sync(i).reduce((t,n)=>{let r=e(n);return t[`intlayer-content/${r}`]={import:n,dependOn:void 0},t},{})};export{n as getEntries};
2
2
  //# sourceMappingURL=getEntries.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEntries.mjs","names":[],"sources":["../../src/getEntries.ts"],"sourcesContent":["import type { IntlayerConfig } from '@intlayer/types';\nimport fg from 'fast-glob';\nimport type { EntryObject } from 'webpack';\nimport { getFileHash } from './utils';\n\nexport const getEntries = (configuration: IntlayerConfig) => {\n const { content } = configuration;\n const { watchedFilesPatternWithPath } = content;\n\n const entries = fg.sync(watchedFilesPatternWithPath).reduce((obj, el) => {\n const hash = getFileHash(el);\n\n obj[`intlayer-content/${hash}`] = {\n import: el,\n dependOn: undefined,\n };\n\n return obj;\n }, {} as EntryObject);\n\n return entries;\n};\n"],"mappings":"mEAKA,MAAa,EAAc,GAAkC,CAC3D,GAAM,CAAE,WAAY,EACd,CAAE,+BAAgC,EAaxC,OAXgB,EAAG,KAAK,EAA4B,CAAC,QAAQ,EAAK,IAAO,CACvE,IAAM,EAAO,EAAY,EAAG,CAO5B,MALA,GAAI,oBAAoB,KAAU,CAChC,OAAQ,EACR,SAAU,IAAA,GACX,CAEM,GACN,EAAE,CAAgB"}
1
+ {"version":3,"file":"getEntries.mjs","names":[],"sources":["../../src/getEntries.ts"],"sourcesContent":["import { getPathHash } from '@intlayer/chokidar/utils';\nimport type { IntlayerConfig } from '@intlayer/types';\nimport fg from 'fast-glob';\nimport type { EntryObject } from 'webpack';\n\nexport const getEntries = (configuration: IntlayerConfig) => {\n const { content } = configuration;\n const { watchedFilesPatternWithPath } = content;\n\n const entries = fg.sync(watchedFilesPatternWithPath).reduce((obj, el) => {\n const hash = getPathHash(el);\n\n obj[`intlayer-content/${hash}`] = {\n import: el,\n dependOn: undefined,\n };\n\n return obj;\n }, {} as EntryObject);\n\n return entries;\n};\n"],"mappings":"gFAKA,MAAa,EAAc,GAAkC,CAC3D,GAAM,CAAE,WAAY,EACd,CAAE,+BAAgC,EAaxC,OAXgB,EAAG,KAAK,EAA4B,CAAC,QAAQ,EAAK,IAAO,CACvE,IAAM,EAAO,EAAY,EAAG,CAO5B,MALA,GAAI,oBAAoB,KAAU,CAChC,OAAQ,EACR,SAAU,IAAA,GACX,CAEM,GACN,EAAE,CAAgB"}
@@ -1,2 +1,2 @@
1
- import{__require as e}from"./_virtual/_rolldown/runtime.mjs";import t from"node:path";import{fileURLToPath as n}from"node:url";import{isESModule as r}from"@intlayer/config/utils";import i from"crypto-js";const a=()=>{let i=r?n(import.meta.url):e(`node:url`).pathToFileURL(__filename).toString();globalThis.__filename=globalThis.__filename??i,globalThis.__dirname=globalThis.__dirname??t.dirname(__filename)},o=e=>i.SHA3(e).toString(i.enc.Base64).replace(/[^A-Z\d]/gi,``).substring(0,20);export{a as defineDirname,o as getFileHash};
1
+ import{__require as e}from"./_virtual/_rolldown/runtime.mjs";import t from"node:path";import{fileURLToPath as n}from"node:url";import{isESModule as r}from"@intlayer/config/utils";const i=()=>{let i=r?n(import.meta.url):e(`node:url`).pathToFileURL(__filename).toString();globalThis.__filename=globalThis.__filename??i,globalThis.__dirname=globalThis.__dirname??t.dirname(__filename)};export{i as defineDirname};
2
2
  //# sourceMappingURL=utils.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.mjs","names":[],"sources":["../../src/utils.ts"],"sourcesContent":["import path from 'node:path';\nimport { fileURLToPath } from 'node:url';\nimport { isESModule } from '@intlayer/config/utils';\nimport crypto from 'crypto-js';\n\n/**\n * Set the __dirname global variable to make the config work in both ESM and CJS environments\n */\nexport const defineDirname = () => {\n const filename = isESModule\n ? fileURLToPath(import.meta.url)\n : require('node:url').pathToFileURL(__filename).toString();\n\n globalThis.__filename = globalThis.__filename ?? filename;\n globalThis.__dirname = globalThis.__dirname ?? path.dirname(__filename);\n};\n\nexport const getFileHash = (filePath: string) => {\n const hash = crypto.SHA3(filePath);\n\n return hash\n .toString(crypto.enc.Base64)\n .replace(/[^A-Z\\d]/gi, '')\n .substring(0, 20);\n};\n"],"mappings":"4MAQA,MAAa,MAAsB,CACjC,IAAM,EAAW,EACb,EAAc,OAAO,KAAK,IAAI,CAAA,EACtB,WAAW,CAAC,cAAc,WAAW,CAAC,UAAU,CAE5D,WAAW,WAAa,WAAW,YAAc,EACjD,WAAW,UAAY,WAAW,WAAa,EAAK,QAAQ,WAAW,EAG5D,EAAe,GACb,EAAO,KAAK,EAAS,CAG/B,SAAS,EAAO,IAAI,OAAO,CAC3B,QAAQ,aAAc,GAAG,CACzB,UAAU,EAAG,GAAG"}
1
+ {"version":3,"file":"utils.mjs","names":[],"sources":["../../src/utils.ts"],"sourcesContent":["import path from 'node:path';\nimport { fileURLToPath } from 'node:url';\nimport { isESModule } from '@intlayer/config/utils';\n\n/**\n * Set the __dirname global variable to make the config work in both ESM and CJS environments\n */\nexport const defineDirname = () => {\n const filename = isESModule\n ? fileURLToPath(import.meta.url)\n : require('node:url').pathToFileURL(__filename).toString();\n\n globalThis.__filename = globalThis.__filename ?? filename;\n globalThis.__dirname = globalThis.__dirname ?? path.dirname(__filename);\n};\n"],"mappings":"mLAOA,MAAa,MAAsB,CACjC,IAAM,EAAW,EACb,EAAc,OAAO,KAAK,IAAI,CAAA,EACtB,WAAW,CAAC,cAAc,WAAW,CAAC,UAAU,CAE5D,WAAW,WAAa,WAAW,YAAc,EACjD,WAAW,UAAY,WAAW,WAAa,EAAK,QAAQ,WAAW"}
@@ -1,2 +1,2 @@
1
- import{defineDirname as e}from"./utils.mjs";import{getEntries as t}from"./getEntries.mjs";import{IntlayerPlugin as n}from"./webpack-plugin.mjs";import{join as r}from"node:path";import{getConfiguration as i}from"@intlayer/config/node";const a={hot:!0,open:!1,liveReload:!1,compress:!0,historyApiFallback:!1,host:`localhost`,port:8080,watchFiles:`./src/`,devMiddleware:{writeToDisk:!0},static:{}},o=(o=i())=>{let{fileExtensions:s}=o.content;return e(),{mode:`production`,target:`node`,entry:t(o),output:{clean:!0,library:`IntlLayerContent`,libraryTarget:`umd`,filename:`[name].bundle.js`},cache:!1,devtool:`source-map`,ignoreWarnings:[/./],resolve:{extensions:[`.ts`,`.js`,`.json`,`.wasm`,`.ts`,`.tsx`,`.mjs`,`.cjs`],modules:[r(globalThis.__dirname,`..`,`node_modules`),r(process.cwd(),`node_modules`),r(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`),r(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`,`@intlayer/webpack`,`node_modules`)]},resolveLoader:{modules:[r(process.cwd(),`node_modules`),r(process.cwd(),`node_modules`,`@intlayer/webpack`,`node_modules`),r(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`,`@intlayer/webpack`,`node_modules`)]},module:{rules:[{test:RegExp(`(${s.join(`|`)})$`),use:[{loader:`esbuild-loader`,options:{target:`es2015`}}]},{test:/\.node$/,loader:`node-loader`},{test:/\.(jsx|js|ts|tsx|mjs|cjs)?$/,loader:`esbuild-loader`,options:{target:`es2015`}}]},devServer:a,plugins:[new n(o)]}};export{o as default,o as getWebpackConfig,a as devServerConfig};
1
+ import{getEntries as e}from"./getEntries.mjs";import{defineDirname as t}from"./utils.mjs";import{IntlayerPlugin as n}from"./webpack-plugin.mjs";import{join as r}from"node:path";import{getConfiguration as i}from"@intlayer/config/node";const a={hot:!0,open:!1,liveReload:!1,compress:!0,historyApiFallback:!1,host:`localhost`,port:8080,watchFiles:`./src/`,devMiddleware:{writeToDisk:!0},static:{}},o=(o=i())=>{let{fileExtensions:s}=o.content;return t(),{mode:`production`,target:`node`,entry:e(o),output:{clean:!0,library:`IntlLayerContent`,libraryTarget:`umd`,filename:`[name].bundle.js`},cache:!1,devtool:`source-map`,ignoreWarnings:[/./],resolve:{extensions:[`.ts`,`.js`,`.json`,`.wasm`,`.ts`,`.tsx`,`.mjs`,`.cjs`],modules:[r(globalThis.__dirname,`..`,`node_modules`),r(process.cwd(),`node_modules`),r(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`),r(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`,`@intlayer/webpack`,`node_modules`)]},resolveLoader:{modules:[r(process.cwd(),`node_modules`),r(process.cwd(),`node_modules`,`@intlayer/webpack`,`node_modules`),r(process.cwd(),`node_modules`,`intlayer-cli`,`node_modules`,`@intlayer/webpack`,`node_modules`)]},module:{rules:[{test:RegExp(`(${s.join(`|`)})$`),use:[{loader:`esbuild-loader`,options:{target:`es2015`}}]},{test:/\.node$/,loader:`node-loader`},{test:/\.(jsx|js|ts|tsx|mjs|cjs)?$/,loader:`esbuild-loader`,options:{target:`es2015`}}]},devServer:a,plugins:[new n(o)]}};export{o as default,o as getWebpackConfig,a as devServerConfig};
2
2
  //# sourceMappingURL=webpack.config.mjs.map
@@ -3,7 +3,6 @@
3
3
  * Set the __dirname global variable to make the config work in both ESM and CJS environments
4
4
  */
5
5
  declare const defineDirname: () => void;
6
- declare const getFileHash: (filePath: string) => string;
7
6
  //#endregion
8
- export { defineDirname, getFileHash };
7
+ export { defineDirname };
9
8
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","names":[],"sources":["../../src/utils.ts"],"mappings":";;AAQA;;cAAa,aAAA;AAAA,cASA,WAAA,GAAe,QAAA"}
1
+ {"version":3,"file":"utils.d.ts","names":[],"sources":["../../src/utils.ts"],"mappings":";;AAOA;;cAAa,aAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/webpack",
3
- "version": "8.1.10",
3
+ "version": "8.2.0",
4
4
  "private": false,
5
5
  "description": "Webpack plugin for seamless integration with Intlayer, enhancing JavaScript apps built with React, Next.js and more.",
6
6
  "keywords": [
@@ -77,16 +77,14 @@
77
77
  "watch": "webpack --config ./webpack.config.ts --watch"
78
78
  },
79
79
  "dependencies": {
80
- "@intlayer/chokidar": "8.1.10",
81
- "@intlayer/config": "8.1.10",
82
- "@intlayer/types": "8.1.10",
83
- "crypto-js": "4.2.0",
80
+ "@intlayer/chokidar": "8.1.11",
81
+ "@intlayer/config": "8.1.11",
82
+ "@intlayer/types": "8.2.0",
84
83
  "fast-glob": "3.3.3",
85
84
  "webpack": "5.104.1",
86
85
  "webpack-dev-server": "5.2.2"
87
86
  },
88
87
  "devDependencies": {
89
- "@types/crypto-js": "4.2.2",
90
88
  "@types/node": "25.3.3",
91
89
  "@utils/ts-config": "1.0.4",
92
90
  "@utils/ts-config-types": "1.0.4",