Questions tagged [parceljs]
Blazing fast, zero configuration web application bundler
parceljs
705
questions
0
votes
0
answers
28
views
Minify CSS in Parcel dev mode
I'm trying to get Parcel to minify my CSS in dev mode, but I'm not sure it's possible.
The Parcel docs give the impression you can configure targets like this, but also mention minification only takes ...
0
votes
0
answers
8
views
Parcel-bundler: Help fix "No entries found"
Hellow everyone i have a problem, i can't use parcel-bundler because i have this eror "No entries found".
I write npx parcel folder/index.html and i have eror.
No entries found
at Bundler....
-1
votes
0
answers
13
views
How to deploy a website built and ran with parcel in terminal just by clicking on the Github page link? [closed]
I've built a website with ParcelJs, and I used parcel *.html to deploy it in terminal while working on it. Now I synchronize all the files on my repository on GitHub and want to use GitHub Page to ...
-1
votes
0
answers
26
views
Converting a response to json when using Parcel error
Error message: "Unexpected token '<', "<!DOCTYPE "... is not valid JSON" keeps showing when I run my program using parcel, but when I use live server it's seems to be fine. ...
0
votes
0
answers
20
views
Saving changes to .scss and .js project files doesn't trigger Parcel's HMR [duplicate]
I'm running a simple test project to learn bundling with Parcel.
OS: Windows 11
Environment: WSL2
Text editor: VS Code
Browser: Google Chrome
This is the file structure I'm running with:
/mnt/d/dev/...
0
votes
1
answer
97
views
Why don't HTML elements render in Preact?
I'm working on a Preact project, and this is the code of a page:
return (
<Fragment>
<div style={gridStyle}>
<p>Test</p>
</div>
&...
0
votes
0
answers
19
views
Tailwind CSS Plugins Error Loading with Parcel
I have the following Tailwind CSS config file.
// See the Tailwind default theme values here:
// https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
const colors = ...
0
votes
0
answers
9
views
ParcelJs window.hasMobileFirstExtension = true;
I have a problem with ParcelJS. A "window.hasMobileFirstExtension = true;" is always included in the head section of the index.html file. How can I prevent this?
I would be grateful for an ...
1
vote
1
answer
102
views
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value: (0, _assert().default)(node.type === OPTION) [closed]
at RequestGraph.invalidateOptionNodes (food-ordering-app\node_modules@parcel\core\lib\RequestTracker.js:249:29)
at loadRequestGraph (food-ordering-app\node_modules@parcel\core\lib\RequestTracker.js:...
0
votes
0
answers
22
views
Parcel relative path for HTML includes
- projectFolder
|-src
|- index.html
|- nav.html
|- aboutUs
|- index.html
|- images
|- logo.svg
Above you can see my project structure which I use to finally bundle it ...
0
votes
0
answers
33
views
Errors in Importing assets folder with static url in React parcel project
I am trying to serverside render a react page using Django. The server-side rendering is working fine for normal react components. The project is using parcel to auto-build javaScript files so that ...
0
votes
0
answers
25
views
Still getting error after reviewing whole code again in Parcel while building
10:57:41 AM: Netlify Build
10:57:41 AM: ────────────────────────────────────────────────────────────────
10:57:41 AM:
10:57:41 AM: ❯ Version
10:57:41 ...
0
votes
0
answers
41
views
Babel/Parcel throwing "This experimental syntax requires enabling the parser plugin: 'optionalChaining'" on build - ReactFlow
This error, as well as nullishCoalescingOperator is being thrown when I try to build my app using parcel, which contains the React Flow library. Each error is being caught when transpiling the library ...
0
votes
1
answer
51
views
How to get the use-sound hook working with Parcel?
I've started building React websites with Parcel and want to use the use-sound hook, but Parcel is giving me issues.
Specifically, I am seeing the following error:
ReferenceError: HowlerGlobal is not ...
0
votes
1
answer
38
views
CSS imports aren't working from javascript files bundling with Parcel.js
I'm facing an issue regarding importing CSS in .tsx files after upgrading Parcel.js from 2.9.0 to 2.12.0 in a project.
My project is using React, TypeScript and CSS. I'm not using CSS modules. The CSS ...