postcss-assets
postcss-assets copied to clipboard
An asset manager for PostCSS
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines) from 1.0.1 to 1.0.3. Commits c3b28d3 1.0.3 6226c95 Merge pull request #4 from Trott/fix-it-again c77691d fix: remediate ReDOS further 76ca93c chore: pin mocha to version that works with...
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. Changelog Sourced from async's changelog. v2.6.4 Fix potential prototype pollution exploit (#1828) Commits c6bdaca Version 2.6.4 8870da9 Update built files 4df6754 update changelog 8f7f903...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1. Commits 64735d2 v4.1.1 75a657d Fix potential ReDoS (#37) See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this...
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.3.4. Changelog Sourced from nanoid's changelog. 3.3.4 Fixed --help in CLI (by @Lete114). 3.3.3 Reduced size (by Anton Khlynovskiy). 3.3.2 Fixed enhanced-resolve support. 3.3.1 Reduced...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
For example: ```css body { background: url('foobar.jpg'); background: url('icons/baz.png'); } ``` convert to ```css body { background: url('/media/patterns/foobar.jpg'); background: url('/images/icons/baz.png'); } ``` without `resolve`.
my config ``` require('postcss-assets')({ loadPaths: ['../'] }), ``` my css ``` src: resolve('fonts/som-ui-icons.woff?t=1472440741') format('woff'), resolve('fonts/som-ui-icons.ttf?t=1472440741') format('truetype'); ``` it can complied and run, but my icon not found. i try some...
My config: ```javascript option: { basePath: 'src/', baseUrl: '//x.autoimg.cn/www/' } ``` My style: ```css html { background: resolve("../img/bg.png"); } ``` My output: ```css html { background: url('/x.autoimg.cn/www/index/img/bg.png'); } ``` **Expected:**...
Trying to run postcss-assets I get the following error: `resolver.options.loadPaths.unshift is not a function` my config: ` postcss-assets : { relative : 'public/assets/css', basePath: 'src/scss', loadPaths: 'public/assets/img' } `
First of all, thank you for PostCSS Assets! I think the encoding of SVGs in data URIs can be improved as described in the blog post [Optimizing SVGs in data...