@jsenv/core 40.0.7 → 40.0.9
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/build/build.js +10765 -0
- package/dist/jsenv_core.js +25 -13
- package/dist/jsenv_core_packages.js +16728 -7022
- package/dist/{js → start_build_server}/start_build_server.js +7 -8
- package/dist/{plugins.js → start_dev_server/start_dev_server.js} +964 -25
- package/package.json +11 -11
- package/src/build/build.js +15 -14
- package/src/build/build_specifier_manager.js +4 -0
- package/src/build/build_urls_generator.js +4 -0
- package/src/build/jsenv_plugin_mappings.js +69 -0
- package/src/build/jsenv_plugin_subbuilds.js +4 -0
- package/src/kitchen/kitchen.js +12 -0
- package/src/kitchen/out_directory_url.js +1 -0
- package/src/plugins/protocol_http/jsenv_plugin_protocol_http.js +6 -0
- package/src/plugins/reference_analysis/html/jsenv_plugin_html_reference_analysis.js +6 -1
- package/dist/js/build.js +0 -2636
- package/dist/js/start_dev_server.js +0 -840
- package/dist/main.js +0 -117
package/dist/jsenv_core.js
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
|
-
export { INJECTIONS, build, startBuildServer, startDevServer } from "./main.js";
|
|
2
1
|
import "@jsenv/sourcemap";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import
|
|
14
|
-
|
|
2
|
+
|
|
3
|
+
const injectionSymbol = Symbol.for("jsenv_injection");
|
|
4
|
+
const INJECTIONS = {
|
|
5
|
+
optional: (value) => {
|
|
6
|
+
return { [injectionSymbol]: "optional", value };
|
|
7
|
+
},
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
// dev
|
|
11
|
+
const startDevServer = async (...args) => {
|
|
12
|
+
const namespace = await import("./start_dev_server/start_dev_server.js");
|
|
13
|
+
return namespace.startDevServer(...args);
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
// build
|
|
17
|
+
const build = async (...args) => {
|
|
18
|
+
const namespace = await import("./build/build.js");
|
|
19
|
+
return namespace.build(...args);
|
|
20
|
+
};
|
|
21
|
+
const startBuildServer = async (...args) => {
|
|
22
|
+
const namespace = await import("./start_build_server/start_build_server.js");
|
|
23
|
+
return namespace.startBuildServer(...args);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export { INJECTIONS, build, startBuildServer, startDevServer };
|