vicvinc

Results 14 comments of vicvinc

here I come... @vortizhe It should be in the file loader chain. because background images were all in file loader chain, and think about fonts, they are the same.

and if I put the publicPath in SVG-sprite-loader, the SVG path which is been used become 'publicPath/path/to/SVG'. seems that sprite file name was replaced by the mini-css-extract-plugin.

@kisenka hi, it's me again. here Is the same [repo](https://github.com/vicvinc/webpack-svg-sprites-demo), and when building with `mini-css-extract-plugin` the sprite URL was replaced with the real file path. just use `yarn build:production` and...

@kisenka me, troublemaker is glad to try this. got any situation will be feedback ASAP.

meet the same problem... my environment is: node : v8.11.3 webpack: 4.16.4 svg-sprite-loader: 3.8.0 my webpack config: ```javascript // plugin: const SvgSpritePlugin = require("svg-sprite-loader/plugin"); plugins: [ new SvgSpritePlugin() ] //...

🐶🌰🇨🇳🏠!

might be... but the source code is easy to read.. I use [this](https://github.com/twg/devour) lib

I think you need [this](https://github.com/beauby/jsonapi-datastore) decode library, what I doing to solve this problem is replace the response middleware with a customer middle, like this: ```javascript // response handler middleware...

``` @mixin textoverflow ($max-width, $max-height) { text-overflow: ellipsis; white-space: nowrap; //单行时 overflow: hidden; max-width: $max-width; eg: 100%; //max-height: $max-height; // eg: 2em -> 两行 } ``` 类似这样的,单行时,如果超出容器宽度,则省略溢出后的内容,多行时,超出定义的行数后省略溢出内容; 目前接触到的情况暂时有这些