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

Links to files in output HTML don't match generated file names #8

Open
cybergrunge opened this issue Mar 14, 2023 · 0 comments
Open

Comments

@cybergrunge
Copy link

Hi,

I use an index.html file as entry for the bundling process which links to SCSS and JS files:

<link rel="stylesheet" href="css/styles.scss" media="all" />

<script src="js/scripts.js" type="module" defer></script>

HTML, CSS and JS files are correctly output in the dist folder, with subfolders and names according to my parcel-namer-custom settings:

"parcel-namer-custom": {
	".js$": "[folder]/[name].[hash].[type]",
	".scss$": "[folder]/[name].[hash].[type]"
}

But the links in the output index.html file don't match:

<link rel="stylesheet" href="f9917d69015addbd" media="all">

<script src="92046c8cdbcd86e4" type="module" defer=""></script><script src="8b4d39e5a77eb9fb" defer="" nomodule=""></script>
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

1 participant