You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: property "url" must be followed by a ':'
at options.error (.../test-rollup-postcss-and-bootstrap/node_modules/node-sass/lib/index.js:290:33) {
status: 1,
file: '.../test-rollup-postcss-and-bootstrap/node_modules/bootstrap/dist/css/bootstrap.min.css',
line: 6,
column: 69384,
formatted: `Error: property "url" must be followed by a ':'\n` +
' on line 6 of node_modules/bootstrap/dist/css/bootstrap.min.css\n' +
' from line 1 of src/style.scss\n' +
'>> size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg x\n' +
' ------------------------------------------^\n',
code: 'PLUGIN_ERROR',
plugin: 'postcss',
hook: 'transform',
id: '.../test-rollup-postcss-and-bootstrap/src/style.scss',
watchFiles: [
'.../test-rollup-postcss-and-bootstrap/src/index.js',
'.../test-rollup-postcss-and-bootstrap/src/style.scss'
]
}
The error does not appear if we import he unminified file, like:
Having this import in my code:
produces this error:
The error does not appear if we import he unminified file, like:
I have prepared the repo test-rollup-postcss-and-bootstrap to test this.
Running
postcss
(andnode-sass
) on their own does not seem to produce the problem.This is the related
css
failing (of the unminified file,node_modules/bootstrap/dist/css/bootstrap.css
):Error happens, at least, on this
bootstrap
versions:· 5.1.3
· 5.2.2
Am I missing some param to
rollup-plugin-postcss
?Thanks!
The text was updated successfully, but these errors were encountered: