postcss-partial-import
postcss-partial-import copied to clipboard
Inline sugary @import statements in CSS
`main.pcss`: ```pcss @import 'foo'; body { @import 'bar'; } ``` `_foo.pcss`: ```pcss p { color: red; } ``` `_bar.pcss`: ```pcss button { color: blue; } ``` Output: ```css p {...
if anyone's looking to squash the error in the terminal, i found a plugin that adheres to the new api https://www.npmjs.com/package/postcss-import-ext-glob
`Your current PostCSS version is 6.0.2, but postcss-partial-import uses 5.2.17. Perhaps this is the source of the error below. Error in plugin 'gulp-postcss' Message: ENOENT: no such file or directory,...
Bumps [eslint](https://github.com/eslint/eslint) from 3.19.0 to 6.6.0. Release notes *Sourced from [eslint's releases](https://github.com/eslint/eslint/releases).* > ## v6.6.0 > * [`39dfe08`](https://github.com/eslint/eslint/commit/39dfe0880fa934e287e8ea1f7b56d5cba8d43765) Update: false positives in function-call-argument-newline (fixes [#12123](https://github-redirect.dependabot.com/eslint/eslint/issues/12123)) ([#12280](https://github-redirect.dependabot.com/eslint/eslint/issues/12280)) (Scott O'Hara) > *...
``` { resource: { test: /\.vue$/ }, use: [{ loader: 'vue-loader', options: { loaders: { css: ['vue-style-loader', { loader: 'css-loader', options: { minimize: false, sourceMap: false } }] }, postcss:...
I'm publishing pure css modules like these: - https://superflycss.github.io/utilities-layout/target/test/html/ - https://superflycss.github.io/utilities-colors/target/test/html/ - https://superflycss.github.io/utilities-icons/target/test/html/ The `main` attribute on `package.json` resolves the import currently via `main: src/main/css/index.css`. The `postcss-import` plugin can also...
``` npm install [email protected] ``` ``` Node#before is deprecated. Use Node#raws.before (node:3276) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot set property 'parent' of undefined (node:3276) DeprecationWarning: Unhandled promise...
We transform our grunt task from grunt-sass to precss, and this code work well before. ```@import url('/static/css/database.css?some_query');``` Now we got this Error: > Error: ENOENT: no such file or directory,...