Skip to content

Commit 6088870

Browse files
Update paths from kotlin-webpack to dist for the developmentExecutable dir
1 parent 5699d9c commit 6088870

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

demo/common-jvm-utils/src/main/kotlin/demo/common/utils/browser/BrowserDemoUtil.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ object BrowserDemoUtil {
2020
private const val ROOT_ELEMENT_ID = "root"
2121

2222
private const val PROD_JS_OUTPUT_DIR = "build/dist/js/productionExecutable"
23-
private const val DEV_JS_OUTPUT_DIR = "build/kotlin-webpack/js/developmentExecutable"
23+
private const val DEV_JS_OUTPUT_DIR = "build/dist/js/developmentExecutable"
2424

2525
private const val PROD_LETS_PLOT_PATH = "js-package/$PROD_JS_OUTPUT_DIR/lets-plot.js"
2626
private const val DEV_LETS_PLOT_PATH = "js-package/$DEV_JS_OUTPUT_DIR/lets-plot.js"

js-package/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ For example: https://github.com/JetBrains/lets-plot/releases/download/v3.2.0/let
3434

3535
## Local Dev
3636

37-
The "dev" version of JS library can be served from `js-package/build/kotlin-webpack/js/developmentExecutable` folder:
37+
The "dev" version of JS library can be served from `js-package/build/dist/js/developmentExecutable` folder:
3838

3939
```
4040
$ cd lets-plot

plot-stem/src/commonMain/kotlin/org/jetbrains/letsPlot/core/util/PlotHtmlHelper.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ object PlotHtmlHelper {
3737
// - Build "dev" JS package (see js-package/README.md)
3838
// - Activate env containing Python.
3939
// $ python -m http.server 8080
40-
"http://127.0.0.1:8080/js-package/build/kotlin-webpack/js/developmentExecutable/lets-plot.js"
40+
"http://127.0.0.1:8080/js-package/build/dist/js/developmentExecutable/lets-plot.js"
4141
} else {
4242
// bintray: until v2.0.2
4343
// "https://dl.bintray.com/jetbrains/lets-plot/lets-plot-$version.min.js"

python-package/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ When the "dev" version is built, `lets-plot` embeds current "dev" js into Jupyte
4141

4242
If necessary, this default can be temporarily overwritten by editing `dev_xxx` settings in `_global_settings.py`
4343

44-
The "dev" version of JS library can be served from `js-package/build/kotlin-webpack/js/developmentExecutable` folder (in **js-package** project):
44+
The "dev" version of JS library can be served from `js-package/build/dist/js/developmentExecutable` folder (in **js-package** project):
4545

4646
```
4747
$ cd lets-plot

python-package/lets_plot/_global_settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def _get_env_val(actual_name: str) -> Any:
102102
# ./gradlew js-package:jsBrowserDevelopmentWebpack
103103
# $ python -m http.server 8080
104104
'dev_' + JS_BASE_URL: "http://127.0.0.1:8080",
105-
'dev_' + JS_PATH_TO_FILE: "js-package/build/kotlin-webpack/js/developmentExecutable",
105+
'dev_' + JS_PATH_TO_FILE: "js-package/build/dist/js/developmentExecutable",
106106
'dev_' + JS_NAME: '', # default: lets-plot.js
107107
'dev_' + GEOCODING_PROVIDER_URL: _init_value('dev_' + GEOCODING_PROVIDER_URL, _DATALORE_GEOCODING_SERVICE),
108108
'dev_' + MAPTILES_KIND: _init_value('dev_' + MAPTILES_KIND, TILES_VECTOR_LETS_PLOT),

0 commit comments

Comments
 (0)