Comments (2)
Never done something with prepublish, PR is welcome to show me how it's made.
Guessing it should maybe call googles closure-compiler
API referens: https://developers.google.com/closure/compiler/docs/api-ref
Also what about when i want to make a release here on github then?
from formdata.
PR opened. See my comments there for changes you may want to make.
To answer your question about releases on Github, you can run npm pack
to run the preparation logic (i.e. minify the JS) and produce a tarball. Or you could just not upload tarballs and let people download the zip Github provides associated with the tag and then run npm install
, which would then install the dev dependency (closure compiler) and minify the JS.
from formdata.
Related Issues (20)
- Exclude Disabled Fieldset Descendent Controls HOT 10
- in ios 10.3 formData be text/plain HOT 2
- handle empty fileList HOT 1
- IE11 empty request body HOT 6
- Not IE Safe HOT 3
- [Suggestion] Add more per-entry headers HOT 1
- Suggest adding boundary setter and getter HOT 2
- IE11 upload failing in version 4.0.1 HOT 4
- encode headers more correctly HOT 2
- run test agains WPT
- 4.0.5 is broken HOT 1
- Use Github CI HOT 1
- TypeScript types not published HOT 2
- The automated release is failing 🚨
- Is this program support IE11? HOT 3
- error TS2322: Type 'FormData' is not assignable to type 'BodyInit'. HOT 1
- Request fails while using `fs.createReadStream` HOT 3
- How to send a form with additional headers in node.js with fetch HOT 2
- Example in the readme is confusing HOT 4
- `SyntaxError: Invalid regular expression` in Safari HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from formdata.