-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS Link Not Shared on other html pages #3020
Comments
Unfortunately this is a known bug in Parcel itself, tracked by #2340, and will be resolved in Parcel 2. |
Thanks mischnic!, glad to know. |
|
Alright! Thanks once again! |
Is this bug solved ? seems not to me it doesnot worked for me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 bug report
I have two html pages:
index.html
about.html
both html files share the same script reference:
<script src="./app.js">
Inside app.js, i have one file import , which is the scss file
"import "./style.scss";"
However upon running:
"parcel *.html"
Only about.html has the stylesheet tag.
Am I missing something? Kindly guide me, I'm new to bundlers.
🎛 Configuration (.babelrc, package.json, cli command)
{
"name": "Tutorial",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"init": "parcel *.html --no-source-maps --out-dir ./output"
},
"keywords": [],
"author": "srwebcode",
"license": "MIT",
"devDependencies": {
"sass": "^1.20.1"
}
}
🤔 Expected Behavior
Both index.html and about.html should have
😯 Current Behavior
Only about.html has the style tag:
💁 Possible Solution
🔦 Context
💻 Code Sample
🌍 Your Environment
The text was updated successfully, but these errors were encountered: