@omnia/tooling-vue 8.0.111-dev → 8.0.112-dev
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/internal-do-not-import-from-here/config/omnia.fx.core_a2892051-fd9f-4056-ae8d-30d16d48417d.manifest.json +1 -1
- package/internal-do-not-import-from-here/config/omnia.fx.ux.libs_0fe5c5f2-8d89-485b-afd4-36fe3ff5943a.manifest.json +1 -1
- package/internal-do-not-import-from-here/config/omnia.fx.ux_dee030cc-4ab3-4158-bb06-8049f5c67542.manifest.json +1 -1
- package/internal-do-not-import-from-here/config/omnia.fx_a5a89056-b5f5-475d-8518-a1f55090379d.manifest.json +1 -1
- package/internal-do-not-import-from-here/config/omnia.vendor.manifest.json +1 -1
- package/internal-do-not-import-from-here/config/tooling.output.json +1 -1
- package/internal-do-not-import-from-here/config/wctypings.d.ts +24 -0
- package/internal-do-not-import-from-here/tasks/ComponentDocRegistrations.js +1 -1
- package/internal-do-not-import-from-here/tasks/bundle.js +17 -2
- package/package.json +4 -4
|
@@ -473,6 +473,21 @@ function bundleManifest(entries) {
|
|
|
473
473
|
return;
|
|
474
474
|
}
|
|
475
475
|
compiler.close((err, result) => { });
|
|
476
|
+
// merge stylex.css
|
|
477
|
+
const stylexFiles = (0, globby_1.globbySync)([`${$.tooling.utils.root($.tooling.composer.OmniaOutput.OutputBundlePath).replace(/\\/g, "/")}/*.stylex.css`]);
|
|
478
|
+
stylexFiles?.forEach(stylexFilePath => {
|
|
479
|
+
const manifestCssFilePath = stylexFilePath.replace(".stylex.css", ".css");
|
|
480
|
+
const styelxCss = fsExtra.readFileSync(stylexFilePath, 'utf8');
|
|
481
|
+
if (!fsExtra.existsSync(manifestCssFilePath)) {
|
|
482
|
+
fsExtra.outputFileSync(manifestCssFilePath, styelxCss);
|
|
483
|
+
}
|
|
484
|
+
else {
|
|
485
|
+
const css = fsExtra.readFileSync(manifestCssFilePath, 'utf8');
|
|
486
|
+
fsExtra.outputFileSync(manifestCssFilePath, `${styelxCss}
|
|
487
|
+
${css}`);
|
|
488
|
+
}
|
|
489
|
+
fsExtra.removeSync(stylexFilePath);
|
|
490
|
+
});
|
|
476
491
|
resolve(entries);
|
|
477
492
|
});
|
|
478
493
|
}
|
|
@@ -588,11 +603,11 @@ function createVueWebpackConfig(currentEntry, entries, bundleOutputDir, viteHmrO
|
|
|
588
603
|
process: { env: { NODE_ENV: JSON.stringify('production') } }
|
|
589
604
|
}),
|
|
590
605
|
...referenceManifests,
|
|
591
|
-
extractCss,
|
|
592
606
|
new $.omniaWebpackPlugins.NamedModulesPlugin(buildModuleName()),
|
|
607
|
+
extractCss,
|
|
593
608
|
new stylexjs_1.StylexPlugin({
|
|
594
609
|
// filename: 'styles.[contenthash].css',
|
|
595
|
-
filename: `${Object.keys(entry)[0]}.css`,
|
|
610
|
+
filename: `${Object.keys(entry)[0]}.stylex.css`,
|
|
596
611
|
// get webpack mode and set value for dev
|
|
597
612
|
dev: false,
|
|
598
613
|
// Use statically generated CSS files and not runtime injected CSS.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/tooling-vue",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.112-dev",
|
|
5
5
|
"description": "Used to bundle and serve manifests web component that build on Vue framework.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"author": "Precio Fishbone",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@omnia/fx-models": "8.0.
|
|
23
|
-
"@omnia/tooling-composers": "8.0.
|
|
22
|
+
"@omnia/fx-models": "8.0.112-dev",
|
|
23
|
+
"@omnia/tooling-composers": "8.0.112-dev",
|
|
24
24
|
"@types/mousetrap": "1.5.34",
|
|
25
25
|
"@types/quill": "1.3.6",
|
|
26
26
|
"@types/zepto": "1.0.29",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"es6-promise": "4.2.4",
|
|
57
57
|
"hash-sum": "1.0.2",
|
|
58
58
|
"lodash": "4.17.21",
|
|
59
|
-
"vite": "5.0.
|
|
59
|
+
"vite": "5.0.12",
|
|
60
60
|
"vite-plugin-inspect": "0.8.1",
|
|
61
61
|
"appdata-path": "1.0.0",
|
|
62
62
|
"url": "0.11.0",
|