-
We should add ability to freeze urls for the `js` tech. Url could be specified in the form of `borschik:link:path/to/file.ext`
cc @tadatuta
-
I want to use `include` and safe js validity in this example
``` js
var data = /* borschik:include:data.json */;
```
My proposal
``` js
var data = "borschik:import:data.json";
```
-
Файловая стуктура
```
.borschik
hubs/
css/ ---(symlink)--> ../static/css/
static/
blocks/
include.css
css/
test.css
```
test.css
``` css
@import "../blocks/include.css"
```
.borschik…
-
For example
`.borschik` config. There is no path-mapping, so we need to declare path and maybe wildcard for inlined files (max size?)
``` json
{
"inline_base64": {
"static/icon": "*.svg"
}
}…
-
https://github.com/bem/borschik/blob/master/lib/techs/css.js#L10
Должно быть
``` js
importRe = '(?:\\@import\\s+(' + urlRe + '|' + stringRe + ');?)',
```
-
```
/** comment */
/* borschik:include:1.js */
```
$ borschik -i file.js -c no
```
var file1 = true;
/** comment */
```
valid result
```
/** comment */
var file1 = true;
```
-
https://github.com/alexeyten/borschik-ycssjs
https://github.com/alexeyten/borschik-tech-ycssjs
https://github.com/omgtehlion/jscollect
-
В bem-pr 0.0.5 вроде бы работает, но с ошибками типа
> borschik: Error: ENOENT, no such file or directory '/Users/gela-d/Sites/islands-page/touch-phone.sets/arrow.examples/10-arrow-search/10-arrow-se…
-
I worked with BH templates. Trying to create a new template, I made a file `libs/bouwdoos/desktop.blocks/jquery/__core/jquery__core.js`, named it `js` instead of `bh.js` by mistake.
Then, reloaded a p…
varya updated
11 years ago
-
По сути их можно делать вместе: склеили, зафризили и минимизировали за один проход.
Что думаете?