I would like to display a project I am working on with parcel by typing parcel index.html
parcel charges then display this error message :
29 | "@parcel/transformer-sass": "^2.0.0-beta.2",
30 | "@parcel/transformer-vue": "^2.0.0-beta.2",
| …
['hashchange' &&'load'].forEach(ev =>
window.addEventListener(ev, controlRecipes))
// window.addEventListener('hashchange', controlRecipes)
// window.addEventListener('load', controlRecipes)
The following is the output from the…
Every time I try to run npm start or npm build I get an error saying unknown: Entry /mnt/c/Users/kabre/Desktop/18-forkify/index.html does not exist. I got told that Parcel might be automatically renaming my index.html. Not sure how to go on about…
In Parcel 2 RC we use ES modules, so we need to add the type="module" attribute to the script tags (Otherwise, we get an error message). When we chose a script tag to be a module the code is treated as a JavaScript module, and the processing of the…
I am using Material UI TextInput component with a placeholder prop that passes the text "Contraseña"; The letter ñ in the word is not rendering as intended, but as \fx1. The HTLM header have meta UTF-8 and I am using parcel 2.0.0-rc.0 as my…
I'm building a mock app in HTML, CSS and JS. However, after running the 'npm run build' to compress, build and bundle the files in dist folder and uploading to netlify server to test the build version, it is throwing
"Uncaught ReferenceError:…
I am using 'animate.css' as a npm package. to use it I specify import 'animate.css' during development. But in production it says to include 'animate.min.css'. How to specify to parceljs to pick the animate.min.css during production build.
or would…
Do I need to specify the experimental scope hoisting/tree shaking flag (in parcel 2.0) to use tree shaking?
parcel build entry.js --experimental-scope-hoisting
Or tree shaking is not longer a experimental feature in parcel 2.0?
I'm building separate components for my personal portfolio using ParcelJS
I'm attaching the Project Folder Structure working tree. Also, Remainder that don't worry about public and build folder. If I run the scripts using yarn. It will automatically…
In my HTML, CSS, JS Project I want to bundle to make faster my website, minify and all the features that offer Parcel. How can I use Parcel with the CDN? or i can use that only with npm? I write this because i don't want to deploy an Express server…
I'm importing images:
import vanilla from 'url:../../img/flavors/vanilla.jpg';
import chocolate from 'url:../../img/flavors/chocolate.jpg';
I have several p tags that list several flavors:
I have a project with the following structure:
my-site
├── home.html
├── about.html
└── shared
├── header.html
└── footer.html
my-site\home.html:
home
…
I tried to install parcel on my windows 10 laptop, but this happened:
$ npm install -D parcel@next
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated…
Server running at http://localhost:1234\
× No entries found.
at Bundler.bundle (C:\Users\badca\AppData\Roaming\npm\node_modules\parcel-bundler\src\Bundler.js:275:17)
at async Bundler.serve…