Complete npm guide and migrate all guides to Sass @use modules#42135
Draft
Complete npm guide and migrate all guides to Sass @use modules#42135
@use modules#42135Conversation
Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Complete npm guide with modern Sass modules
Complete npm guide and migrate all guides to Sass Mar 8, 2026
@use modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The npm guide was incomplete (placeholder sections only) and all bundler guides were using the deprecated Sass
@importsyntax instead of the modern@usemodule system.npm guide — completed
Filled in the stubbed-out Configure npm and Import Bootstrap sections:
postcss.config.jswith Autoprefixerindex.htmllinking compiled CSS and Bootstrap's pre-built JS bundle fromnode_modulescss-compile,css-prefix,build,watch,serve,start,lint.stylelintrc.jsonextendingstylelint-config-twbs-bootstrappostcss.config.jsand.stylelintrc.jsonAll bundler guides —
@import→@useBootstrap v6 is fully
@use/@forward-based and compiles without deprecation warnings when consumed via@use. Updated webpack, Parcel, and Vite guides accordingly:silenceDeprecationsfromsass-loaderoptions, updatedcss-loadercomment, removed the deprecation warning note.sassrc.jssilenceDeprecationsblocksilenceDeprecationsfromvite.config.jscss.preprocessorOptions, removed the deprecation warning noteWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
telemetry.astro.build/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/bootstrap/bootstrap/node_modules/.bin/astro build --root site(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.