@genesislcap/webpack-builder 14.436.0-FUI-2489.6 → 14.436.0-FUI-2489.7
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/dist/commands/build.d.ts.map +1 -1
- package/dist/config/devServer.d.ts.map +1 -1
- package/dist/config/devServer.js +1 -1
- package/dist/config/entry.d.ts.map +1 -1
- package/dist/config/federation.d.ts.map +1 -1
- package/dist/config/federation.js +2 -2
- package/dist/config/optimization.d.ts.map +1 -1
- package/dist/config/output.d.ts.map +1 -1
- package/dist/config/output.js +1 -1
- package/dist/config/plugins.d.ts.map +1 -1
- package/dist/config/plugins.js +2 -2
- package/dist/config/resolveLoader.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/commands/build.ts +1 -1
- package/src/config/devServer.ts +2 -2
- package/src/config/entry.ts +1 -1
- package/src/config/federation.ts +2 -2
- package/src/config/optimization.ts +1 -1
- package/src/config/output.ts +2 -2
- package/src/config/plugins.ts +3 -3
- package/src/config/resolveLoader.ts +1 -1
- package/src/index.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC,eAAO,MAAM,KAAK,GAAU,UAAU,QAAQ,kBAqB7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devServer.d.ts","sourceRoot":"","sources":["../../src/config/devServer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"devServer.d.ts","sourceRoot":"","sources":["../../src/config/devServer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AA4B7C,eAAO,MAAM,SAAS,GAAI,KAAK,YAAY,KAAG,aAAa,CAAC,WAAW,CA+CtE,CAAC"}
|
package/dist/config/devServer.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.devServer = void 0;
|
|
4
|
-
const node_path_1 = require("node:path");
|
|
5
4
|
const build_kit_1 = require("@genesislcap/build-kit");
|
|
5
|
+
const node_path_1 = require("node:path");
|
|
6
6
|
const getServer = (isHTTPS = false) => {
|
|
7
7
|
if (isHTTPS) {
|
|
8
8
|
const options = (0, build_kit_1.getDevCertOptions)();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry.d.ts","sourceRoot":"","sources":["../../src/config/entry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entry.d.ts","sourceRoot":"","sources":["../../src/config/entry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C,eAAO,MAAM,KAAK,GAAI,KAAK,YAAY,KAAG,aAAa,CAAC,OAAO,CAkB9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"federation.d.ts","sourceRoot":"","sources":["../../src/config/federation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"federation.d.ts","sourceRoot":"","sources":["../../src/config/federation.ts"],"names":[],"mappings":"AAEA,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,KAAK,6BAA6B,GAAG,qBAAqB,CACxD,OAAO,SAAS,CAAC,sBAAsB,CACxC,CAAC,CAAC,CAAC,CAAC;AAIL,eAAO,MAAM,mBAAmB,GAAI,YAAO,QAM1C,CAAC;AAIF,eAAO,MAAM,qBAAqB,cAA+C,CAAC;AAElF,eAAO,MAAM,oBAAoB,eAGhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,SAAI,EAAE,aAAkB,WACT,CAAC;AAElD,eAAO,MAAM,cAAc,GAAI,SAAI,EAAE,SAAI,EAAE,aAAkB,WACjB,CAAC;AAE7C,eAAO,MAAM,wBAAwB,GACnC,SAAS,6BAAkC,EAC3C,KAAK,WAAW,KACf,6BAoBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,uBAAuB,OAAO,EAC9B,aAAa,MAAM,EACnB,SAAS,6BAA6B,EACtC,KAAK,WAAW,6DAgBV,CAAC"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getFederationPlugins = exports.resolveFederationOptions = exports.getRemoteEntry = exports.getRemoteEntryUrl = exports.federatedIndexExists = exports.resolveFederatedIndex = exports.getFederatedPkgName = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const node_fs_1 = require("node:fs");
|
|
6
|
-
const node_path_1 = require("node:path");
|
|
7
5
|
const build_kit_1 = require("@genesislcap/build-kit");
|
|
8
6
|
const camel_case_1 = require("camel-case");
|
|
9
7
|
const html_webpack_plugin_1 = tslib_1.__importDefault(require("html-webpack-plugin"));
|
|
8
|
+
const node_fs_1 = require("node:fs");
|
|
9
|
+
const node_path_1 = require("node:path");
|
|
10
10
|
const webpack_1 = require("webpack");
|
|
11
11
|
const { ModuleFederationPlugin } = webpack_1.container;
|
|
12
12
|
const remoteEntryFilename = 'remoteEntry.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optimization.d.ts","sourceRoot":"","sources":["../../src/config/optimization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"optimization.d.ts","sourceRoot":"","sources":["../../src/config/optimization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAc7C,eAAO,MAAM,YAAY,GAAI,KAAK,YAAY,KAAG,aAAa,CAAC,cAAc,CA8B5E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../src/config/output.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../src/config/output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,wBAAwB,CAAC;AAC7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAgB7C,eAAO,MAAM,MAAM,GAAI,KAAK,YAAY,KAAG,aAAa,CAAC,QAAQ,CAiBhE,CAAC"}
|
package/dist/config/output.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.output = void 0;
|
|
4
|
-
const node_path_1 = require("node:path");
|
|
5
4
|
const build_kit_1 = require("@genesislcap/build-kit");
|
|
5
|
+
const node_path_1 = require("node:path");
|
|
6
6
|
const defaultGetters = {
|
|
7
7
|
file: ({ isDev }) => (isDev ? '[name].js' : '[name].[contenthash].js'),
|
|
8
8
|
chunk: ({ isDev }) => (isDev ? '[name].[id].js' : '[name].[id].[contenthash].js'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/config/plugins.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/config/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAwB7C,eAAO,MAAM,OAAO,GAAI,KAAK,YAAY,KAAG,aAAa,CAAC,SAAS,CA8ElE,CAAC"}
|
package/dist/config/plugins.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.plugins = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const node_fs_1 = require("node:fs");
|
|
6
|
-
const node_path_1 = require("node:path");
|
|
7
5
|
const build_kit_1 = require("@genesislcap/build-kit");
|
|
8
6
|
const circular_dependency_plugin_1 = tslib_1.__importDefault(require("circular-dependency-plugin"));
|
|
9
7
|
const copy_webpack_plugin_1 = tslib_1.__importDefault(require("copy-webpack-plugin"));
|
|
10
8
|
const html_webpack_plugin_1 = tslib_1.__importDefault(require("html-webpack-plugin"));
|
|
11
9
|
const mini_css_extract_plugin_1 = tslib_1.__importDefault(require("mini-css-extract-plugin"));
|
|
10
|
+
const node_fs_1 = require("node:fs");
|
|
11
|
+
const node_path_1 = require("node:path");
|
|
12
12
|
const webpack_1 = require("webpack");
|
|
13
13
|
const webpack_bundle_analyzer_1 = require("webpack-bundle-analyzer");
|
|
14
14
|
const webpack_pwa_manifest_1 = tslib_1.__importDefault(require("webpack-pwa-manifest"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveLoader.d.ts","sourceRoot":"","sources":["../../src/config/resolveLoader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolveLoader.d.ts","sourceRoot":"","sources":["../../src/config/resolveLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,eAAO,MAAM,aAAa,GAAI,KAAK,YAAY,KAAG,aAAa,CAAC,eAAe,CAgB9E,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;yBAMrC,KAAK,YAAY;AAAvC,wBAuBE"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/webpack-builder",
|
|
3
3
|
"description": "Webpack builder",
|
|
4
|
-
"version": "14.436.0-FUI-2489.
|
|
4
|
+
"version": "14.436.0-FUI-2489.7",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"lint:ox:fix": "genx lint -l ox --fix"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@genesislcap/build-kit": "14.436.0-FUI-2489.
|
|
22
|
+
"@genesislcap/build-kit": "14.436.0-FUI-2489.7",
|
|
23
23
|
"@pixability-ui/federated-types": "^0.2.0",
|
|
24
24
|
"@types/webpack-env": "^1.18.4",
|
|
25
25
|
"camel-case": "^4.1.2",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "0255c3ca76f815c03c5699c5b7364d624ed08272"
|
|
62
62
|
}
|
package/src/commands/build.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Compiler } from 'webpack';
|
|
1
2
|
import consola from 'consola';
|
|
2
3
|
import webpack from 'webpack';
|
|
3
|
-
import type { Compiler } from 'webpack';
|
|
4
4
|
|
|
5
5
|
export const build = async (compiler: Compiler) => {
|
|
6
6
|
const stats = await new Promise<webpack.Stats>((success, error) => {
|
package/src/config/devServer.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { resolve } from 'node:path';
|
|
2
1
|
import type { BuildContext } from '@genesislcap/build-kit';
|
|
2
|
+
import type { Configuration } from 'webpack';
|
|
3
3
|
import {
|
|
4
4
|
createDevProxiesArray,
|
|
5
5
|
getDevCertOptions,
|
|
6
6
|
getPort,
|
|
7
7
|
getPublicPath,
|
|
8
8
|
} from '@genesislcap/build-kit';
|
|
9
|
-
import
|
|
9
|
+
import { resolve } from 'node:path';
|
|
10
10
|
|
|
11
11
|
const getServer = (isHTTPS = false) => {
|
|
12
12
|
if (isHTTPS) {
|
package/src/config/entry.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { resolve } from 'node:path';
|
|
2
1
|
import type { BuildContext } from '@genesislcap/build-kit';
|
|
3
2
|
import type { Configuration } from 'webpack';
|
|
3
|
+
import { resolve } from 'node:path';
|
|
4
4
|
import { resolveFederatedIndex, federatedIndexExists } from './federation';
|
|
5
5
|
|
|
6
6
|
export const entry = (ctx: BuildContext): Configuration['entry'] => {
|
package/src/config/federation.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { existsSync } from 'node:fs';
|
|
2
|
-
import { resolve } from 'node:path';
|
|
3
1
|
import { getPublicPath } from '@genesislcap/build-kit';
|
|
4
2
|
import { camelCase } from 'camel-case';
|
|
5
3
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
4
|
+
import { existsSync } from 'node:fs';
|
|
5
|
+
import { resolve } from 'node:path';
|
|
6
6
|
import { PackageJson } from 'pkg-types';
|
|
7
7
|
import { container } from 'webpack';
|
|
8
8
|
|
package/src/config/output.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { resolve } from 'node:path';
|
|
2
1
|
import type { BuildContext, WebpackFilenames } from '@genesislcap/build-kit';
|
|
3
|
-
import { getPublicPath } from '@genesislcap/build-kit';
|
|
4
2
|
import type { Configuration } from 'webpack';
|
|
3
|
+
import { getPublicPath } from '@genesislcap/build-kit';
|
|
4
|
+
import { resolve } from 'node:path';
|
|
5
5
|
|
|
6
6
|
const defaultGetters: WebpackFilenames = {
|
|
7
7
|
file: ({ isDev }) => (isDev ? '[name].js' : '[name].[contenthash].js'),
|
package/src/config/plugins.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { existsSync } from 'node:fs';
|
|
2
|
-
import { resolve, join } from 'node:path';
|
|
3
1
|
import type { BuildContext } from '@genesislcap/build-kit';
|
|
2
|
+
import type { Configuration } from 'webpack';
|
|
4
3
|
import { getPublicPath, objToSnakeCase, resolveDefineConfig } from '@genesislcap/build-kit';
|
|
5
4
|
import CircularDependencyPlugin from 'circular-dependency-plugin';
|
|
6
5
|
import CopyPlugin from 'copy-webpack-plugin';
|
|
7
6
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
8
7
|
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
|
9
|
-
import
|
|
8
|
+
import { existsSync } from 'node:fs';
|
|
9
|
+
import { resolve, join } from 'node:path';
|
|
10
10
|
import { DefinePlugin } from 'webpack';
|
|
11
11
|
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
|
|
12
12
|
import WebpackPwaManifest from 'webpack-pwa-manifest';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { resolve } from 'node:path';
|
|
2
1
|
import type { BuildContext } from '@genesislcap/build-kit';
|
|
3
2
|
import type { Configuration } from 'webpack';
|
|
3
|
+
import { resolve } from 'node:path';
|
|
4
4
|
|
|
5
5
|
export const resolveLoader = (ctx: BuildContext): Configuration['resolveLoader'] => {
|
|
6
6
|
const {
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { run, resolveBin } from '@genesislcap/build-kit';
|
|
2
1
|
import type { BuildContext } from '@genesislcap/build-kit';
|
|
2
|
+
import { run, resolveBin } from '@genesislcap/build-kit';
|
|
3
3
|
import webpack from 'webpack';
|
|
4
4
|
import { build, dev } from './commands';
|
|
5
5
|
import { getConfig } from './config';
|