@genesislcap/webpack-builder 14.94.2 → 14.95.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 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/config/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAM7C,eAAO,MAAM,YAAY,QAAS,YAAY,KAAG,aAAa,CAAC,QAAQ,CAarE,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/config/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAM7C,eAAO,MAAM,YAAY,QAAS,YAAY,KAAG,aAAa,CAAC,QAAQ,CAcrE,CAAC"}
@@ -12,6 +12,7 @@ const moduleConfig = (ctx) => ({
12
12
  fileRules_1.appFileRules.fonts(),
13
13
  fileRules_1.appFileRules.html(),
14
14
  fileRules_1.appFileRules.images(),
15
+ fileRules_1.appFileRules.videos(),
15
16
  // Styles
16
17
  styleRules_1.appStyleRules.headCss(),
17
18
  styleRules_1.appStyleRules.css(),
@@ -13,5 +13,9 @@ export declare const appFileRules: {
13
13
  test: RegExp;
14
14
  type: string;
15
15
  };
16
+ videos: () => {
17
+ test: RegExp;
18
+ type: string;
19
+ };
16
20
  };
17
21
  //# sourceMappingURL=fileRules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fileRules.d.ts","sourceRoot":"","sources":["../../../src/config/rules/fileRules.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;CAiBxB,CAAC"}
1
+ {"version":3,"file":"fileRules.d.ts","sourceRoot":"","sources":["../../../src/config/rules/fileRules.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;CAqBxB,CAAC"}
@@ -21,4 +21,8 @@ exports.appFileRules = {
21
21
  test: /\.(png|svg|jpg|jpeg|gif)$/i,
22
22
  type: 'asset/resource',
23
23
  }),
24
+ videos: () => ({
25
+ test: /\.(mp4|ogg|webm)$/i,
26
+ type: 'asset/resource',
27
+ }),
24
28
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/webpack-builder",
3
3
  "description": "Webpack builder",
4
- "version": "14.94.2",
4
+ "version": "14.95.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "dev": "tsc -b ./tsconfig.json -w"
16
16
  },
17
17
  "dependencies": {
18
- "@genesislcap/build-kit": "14.94.2",
18
+ "@genesislcap/build-kit": "14.95.0",
19
19
  "@module-federation/dashboard-plugin": "2.6.5",
20
20
  "@pixability-ui/federated-types": "^0.2.0",
21
21
  "camel-case": "^4.1.2",
@@ -57,5 +57,5 @@
57
57
  "publishConfig": {
58
58
  "access": "public"
59
59
  },
60
- "gitHead": "8f234d54d3f4baf8f21a036b93dd6ba07eb59158"
60
+ "gitHead": "c104bd1dbc712b08c2e279f71f1f3ba2fca5c34c"
61
61
  }
@@ -13,6 +13,7 @@ export const moduleConfig = (ctx: BuildContext): Configuration['module'] => ({
13
13
  appFileRules.fonts(),
14
14
  appFileRules.html(),
15
15
  appFileRules.images(),
16
+ appFileRules.videos(),
16
17
 
17
18
  // Styles
18
19
  appStyleRules.headCss(),
@@ -19,4 +19,8 @@ export const appFileRules = {
19
19
  test: /\.(png|svg|jpg|jpeg|gif)$/i,
20
20
  type: 'asset/resource',
21
21
  }),
22
+ videos: () => ({
23
+ test: /\.(mp4|ogg|webm)$/i,
24
+ type: 'asset/resource',
25
+ }),
22
26
  };