Skip to content
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

Missing stylesheet from multiple entry files building for production #4702

Closed
nyoijizai opened this issue Jun 6, 2020 · 1 comment
Closed

Comments

@nyoijizai
Copy link

🐛 bug report

🎛 Configuration (.babelrc, package.json, cli command)

{
	"name": "dev.parcel.bianchengquan",
	"version": "1.0.1",
	"description": "",
	"private": true,
	"scripts": {
		"dev": "parcel ./src/pages/**/*.html --open"
	},
	"author": "Nyoijizai",
	"license": "MIT",
	"dependencies": {
		"bootstrap": "^4.5.0",
		"jquery": "^3.5.1",
		"popper.js": "^1.16.1"
	},
	"devDependencies": {
		"node-sass": "^4.14.1",
		"sass": "^1.26.7"
	}
}
// My file path

/src
/-- pages
/--/-- down
/--/--/ index.html
/--/--/ column.html
/--/--/ down.js
/--/--/ down.scss

🤔 Expected Behavior

When I visied src/pages/down/index.html,I can got assets like JavaScript, CSS, and HTML files.
image

But I visied src/pages/down/[other].html,the CSS is gone.
image

💻 Code Sample

<!-- All HTML use down.js -->
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Home</title>
	</head>
	<body></body>
	<script src="./down.js"></script>
</html>

🌍 Your Environment

Software Version(s)
Parcel 1.12.4
Node v12.17.0
npm 6.14.4
Operating System Windows 10
@mischnic
Copy link
Member

mischnic commented Jun 6, 2020

Duplicate of #2340

(Known bug, is fixed in Parcel 2)

@mischnic mischnic marked this as a duplicate of #2340 Jun 6, 2020
@mischnic mischnic closed this as completed Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants