Questions tagged [parceljs]

Blazing fast, zero configuration web application bundler

Official website

https://parceljs.org/

682 questions
0
votes
1 answer

In the building tool `parcelJs` : generated code that can't run

when parcel compile my code it build js file started like this : "use strict"; // modules are defined as an array // [ module function, map of requires ] // // map of requires is short require name -> numeric require // // anything defined in a…
pery mimon
  • 7,713
  • 6
  • 52
  • 57
-1
votes
0 answers

Trying to make "import {script}" javascript code work for Chrome 53 using parceljs

I am trying make a small webpage, and I am trying to program with modern javascript/html and css features, but the browser that this code is going to go on, is ultimately a very old browser where most of the features are not supported. I am trying…
Somecode
  • 15
  • 1
  • 4
-1
votes
0 answers

Why is this not displaying the news api content?

So I have this assignment in my boot camp. It asked us to start building a news-app displaying the top stories. I followed directions and did the things it asked me to but the content is not displaying like it should. Here is the repository with my…
-1
votes
1 answer

Using ant-design vanilla js and simple icons parcel

I'm using the ant-design and simple icons for my vanilla js app. I'm facing with huge imports after I build my app. Currently 3.92mb in minified version. Is there anything I can fix this? I'm using parcel to build my…
J.Wujeck
  • 280
  • 4
  • 16
-1
votes
1 answer

Firebase "Resource interpreted as Stylesheet but transferred with MIME type text/html"

I created a web app (just some HTML, SCSS and JavaScrip) and bundled it with parcel. When I run the app on localhost (served by parcel), everything works totally fine. But as soon as I start it on the firebase localhost, the CSS is not working. I…
-2
votes
1 answer

Why does codesandbox.io log the eventual state of my array?

I was sure this expression const arr = [1,2,3] console.log(arr) arr.push(4) Should return [1,2,3]. Actually, if write it in the browser console it'll return what expected. But I accidentally open codesandbox and write the same code there and I got…
Alex Park
  • 651
  • 8
  • 15
-3
votes
1 answer

parcel2 error with valid JSON: "@parcel/transformer-json:" JSON5: invalid end of input at 1:1

Not sure why I'm getting this error -- I'm using default configuration specs for parcel2, so it should work out of the box according to the documentation. I've validated the JSON object and it seems to be valid, so this is a bit of a head…
Bar-Levav
  • 126
  • 6
1 2 3
45
46