I can't seem to get Babel to work with Parcel, although the presets are being installed automatically. It works locally and in Chrome, but it's not transpiling node_modules es6 files, so the output still has const/let/... and it cannot run in…
I play a demo with Vue.js + TypeScript + Parcel, and try async/await in index.ts .
index.html
...
index.ts
console.log('Not see me')
(async () => {
console.log('Did not execute here…
I have a project with this structure:
src
|- index.pug
| - layout
| |- index.less
| - scripts
| |- index.js
For now, when I run parcel build src/index.pug, all the files are bundled and I've got this on the distribution folder:
dist
…
I use parcel-bundler on a react app. But I realized I need to redirect all files index.html using HTTP files but when I add a .htaccess file to my public directory. It's not added to the dist folder after building the project.
How can I achieve this…
I am using the AWS Amplify Storage module to store and retrieve user files using the JavaScript API. When I serve or build with Parcel, the following error message is printed to the console:
TypeError: S3 is not a constructor
at…
When building through parcel .htm files, the output is .html files.
I much rather just keep the .htm files as output files, but couldn't figure out a way to do it in either Parcel or PostHTML which is being used by parcel.
I've updated an old static…
As the title says, deploying to Netlify fails, judging from the logs it could be my parcel.js setup. The error in the logs are:
12:19:29 AM: Error running command: Build script returned non-zero exit code: 127
12:19:29 AM: Failing build: Failed to…
I'm creating a new Chrome extension. I introduced Parcel bundler for module bundling and TypeScript support.
I want build
/src
/background-script
index.ts
/browser-action
index.html
index.ts
/content-script
…
I am currently migrating as React project built with Webpack into Parcel as an experiment to see what the hype is all about. The project uses Reactstrap, which has Bootstrap as a dependency.
I have a main.tsx file that is the "shell" for most of the…
while installing parcel module in nodeJS, via terminal on Mac OS i am getting permission error.
error: checkPermission Missing write access to /usr/local/lib/node_modules
i am new at learning Node Modules. i tried installing(Node , NPM) everything…
I have an Express app using Pug templates and Parcel for my bundler. According to the Parcel docs, I can have a config file that stores my locals pug.config.js, however, I need to dynamically add locals to my templates at runtime. Is it possible to…