Parcel Doesn't Seem To Bundle/Minify Anything #7608
Unanswered
MykalMachon
asked this question in
Q&A
Replies: 1 comment
-
refs #4985 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background
I'm trying to build a little web package that will eventually end up on NPM. Previously I've used a mish-mash of webpack, and typescript to achieve this. I saw this page in parcel's docs, and thought it would be a good choice for my package.
What's the Issue?
It seems like parcel isn't bundling or minifying it's outputs.
From what I can tell, by default parcel should bundle & minify all of my code into some distribution files on build. However, after running
parcel build
I'm getting some weird results.The files in my
./dist/
folder are essentially just JS versions of my typescript files with some weird variable names.I wasn't sure if this was a bug, or just me missing something really simple, so I thought I would make a post here.
Example
Here's a brief example of what my dist file looks like.
See this repo for an example
Resolution
Am I just missing something really simple here? or should I file an issue for this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions