diff options
author | miripiruni <miripiruni@yandex-team.ru> | 2022-06-10 19:30:01 +0300 |
---|---|---|
committer | miripiruni <miripiruni@yandex-team.ru> | 2022-06-10 19:30:01 +0300 |
commit | 2c43eefa708ca732b77975f88db06d9110b8d9e6 (patch) | |
tree | 426c99699f264e9ab2afaf82ce3673522af893d2 /library/cpp/packers | |
parent | 3f8e49145135cc23222b75eadc38c623ce5dc5e1 (diff) | |
download | ydb-2c43eefa708ca732b77975f88db06d9110b8d9e6.tar.gz |
feat: webpack bundling support
```bash
$ exa -la ~/arc2/arcadia/devtools/dummy_arcadia/ts/packages/with_simple_bundling
.rw-rw-r-- 240 miripiruni 2 Jun 17:10 package.json
.rw-rw-r-- 671 miripiruni 31 May 16:27 pnpm-lock.yaml
drwxrwxr-x - miripiruni 31 May 15:04 src
.rw-rw-r-- 654 miripiruni 31 May 15:04 tsconfig.json
.rw-rw-r-- 2.0k miripiruni 1 Jun 19:59 webpack.config.js
.rw-rw-r-- 74 miripiruni 2 Jun 16:43 ya.make
```
```bash
$ arc checkout users/miripiruni/FEI-24499_webpack
$ cd devtools/ymake
$ ya make
$ cd /home/miripiruni/arc2/arcadia/devtools/dummy_arcadia/ts/packages/with_simple_bundling
$ ya make --ymake-bin=/home/miripiruni/arc2/arcadia/devtools/ymake/bin/ymake
```
```bash
$ exa -la ~/arc2/arcadia/devtools/dummy_arcadia/ts/packages/with_simple_bundling
lrwxrwxr-x 77 miripiruni 2 Jun 16:36 bundle.tar -> /home/miripiruni/.ya/build/symres/5a9b0624d6972cef0ae58390036dd09b/bundle.tar
.rw-rw-r-- 240 miripiruni 2 Jun 17:10 package.json
.rw-rw-r-- 671 miripiruni 31 May 16:27 pnpm-lock.yaml
drwxrwxr-x - miripiruni 31 May 15:04 src
.rw-rw-r-- 654 miripiruni 31 May 15:04 tsconfig.json
.rw-rw-r-- 2.0k miripiruni 1 Jun 19:59 webpack.config.js
.rw-rw-r-- 74 miripiruni 2 Jun 16:43 ya.make
$ vim bundle.tar
" tar.vim version v29
" Browsing tarfile /home/miripiruni/arc2/arcadia/devtools/dummy_arcadia/ts/packages/with_simple_bundling/bundle.tar
" Select a file with cursor and press ENTER
home/miripiruni/.ya/build/build_root/o428/000005/devtools/dummy_arcadia/ts/packages/with_simple_bundling/bundle/
home/miripiruni/.ya/build/build_root/o428/000005/devtools/dummy_arcadia/ts/packages/with_simple_bundling/bundle/bundle.js
~
```
A: https://st.yandex-team.ru/FEI-24499#629756e217f92d2ead87669c
ref:c51f7008cdcd23f7dccae3e830cae7a5dc127d1b
Diffstat (limited to 'library/cpp/packers')
0 files changed, 0 insertions, 0 deletions