I'm using create-react-app-parcel-typescript and want to use Jest. But I get the error:
● Validation Error:
Module C:...\polyfills.js in the setupFiles option was not found.
Configuration Documentation:
…
Node uses module.exports / require, and ES6 export / import.
I tried using Webpack but didn't manage to make my different JS files working together.
It is easy to set the bundle.js to have the minified code, but I didn't managed to have as inputs…
Netlify is giving me an 'unexpected token error' when trying to deploy a react app, that is driving me crazy.
I've been using Parcel as a bundler, and thus far the app was able to run fine while testing in the browser, however it consistently fails…
I have found out how to make React global using webpack: https://stackoverflow.com/a/32556581/565877
But I am wondering how to make it global for Parcel
I am quite new to Preact & TypeScript and bootstrapped an application using parcel-preact-typescript-boilerplate.
Everything works fine so far, but I realized that from time to time upon a reload I end up with a blank page. It also happens from time…
I am creating a second BrowserWindow and loading an html file. HTML file points to a TypeScript file. Therefore, it's giving error. How do I tell parcel to transpile that file to js and load the url in the main process?
// main.ts
const windows:…
I have the below folder structure
-src
--module
---some.js
---another.js
--server.js
I am using parceljs transpile the .js files
The script in package.json looks like this
"build": "parcel src/*/*.js --target=node"
When I run npm run build,…
I'm facing the following error while building my (previously working) app with bitbucket pipeline:
...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
└─ babel-core@6.26.3
Done in 22.08s.
…
Context
I'm using parcel-plugin-sw-precache which wraps around sw-precache to make it work with Parcel.js. Everything was working as expected, and I have been testing my offline app.
Problem
I added react-pdf.js into my project, one of the…
So I'm having this difficulty trying to build my Search component to query data from my API request via Axios. Right now it just populates an alert box.
It should do a few things, compare the data from the query with the data from the API, pass…
I'm trying to get Parcel Bundler to build assets from within a Dockerfile. But its failing with:
No entries found.
at Bundler.bundle (/usr/local/lib/node_modules/parcel-bundler/src/Bundler.js:260:17)
at ERROR: Service 'webapp'…
I'm creating a webextension for Chrome, the following code leads to an error:
$(function () {
$('[data-toggle="popover"]').popover();
// ...
});
Chrome complains that:
Uncaught TypeError: jquery_1.default(...).popover is not a function
It…
When importing HTML files from another HTML file using the Parcel.js builder, I get a mysterious exception:
cannot read property 'walk' of null
What does this signify?