fastpack
Pack JS code fast & easy
File Explorer
Download Latest Version (.zip)- FUNDING.yml
- discover.re
- dune
- discover.re
- dune
- fpack.re
- index.js
- .keep
- .keep
- .keep
- .gitignore
- .npmignore
- fpack.exe
- package.json
- postinstall.js
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- no-awk-check.patch
- ocaml-stub
- ocamlfind.install
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- opam
- base-v0.11.1.patch
- package.json
- package.json
- lambda-term-1.13.patch
- package.json
- menhir-20171013.patch
- package.json
- merlin-extend-winfix-4.2.3007.patch
- merlin-extend-winfix.patch
- package.json
- ocamlbuild-0.14.0.patch
- package.json
- findlib-1.8.0.patch
- package.json
- utop-2.2.0.patch
- package.json
- .gitattributes
- .gitignore
- index.json
- Builder.re
- Bundle.re
- Bundle.rei
- Cache.re
- Cache.rei
- Commands.re
- Config.re
- Config.rei
- Context.re
- DependencyGraph.re
- DependencyGraph.rei
- dune
- Environment.re
- Error.re
- ExportFinder.re
- Fastpack.re
- FSCache.re
- FSCache.rei
- Mode.re
- Module.re
- Package.re
- Package.rei
- Preprocessor.re
- Preprocessor.rei
- Resolver.re
- Resolver.rei
- Run.re
- RunAsync.re
- Version.re
- Worker.re
- Worker.rei
- Workspace.re
- dune
- Print.ml
- PrintWithScope.ml
- Resolver.ml
- Test.ml
- TranspileClass.ml
- TranspileObjectSpread.ml
- TranspileReactJSX.ml
- TranspileStripFlow.ml
- Watch.ml
- Class.re
- Context.re
- dune
- Error.re
- FastpackTranspiler.re
- ObjectSpread.re
- ReactJSX.re
- StripFlow.re
- discover.re
- dune
- AstHelper.re
- AstMapper.re
- AstParentStack.re
- dune
- Error.re
- FS.re
- Parser.re
- Printer.re
- Process.re
- Process.rei
- Scope.re
- sysutil.c
- Terminal.re
- UTF8.re
- Visit.re
- Dockerfile
- shasum
- index.js
- bump_version.js
- cleanTest.js
- replaceCommitVersion.js
- setupTest.js
- test.js
- stdout.txt
- index.js
- package.json
- stdout.sh
- yarn.lock
- stderr.txt
- index.js
- stderr.txt
- a.js
- dev.test.js
- index.js
- package.json
- success.test.js
- used.js
- used.test.js
- yarn.lock
- stderr.txt
- a.js
- dev.test.js
- index.js
- stderr.txt
- dev.test.js
- index.js
- stderr.txt
- stderr.txt
- stderr.txt
- dns.js
- dns.test.js
- path.js
- path.test.js
- url.js
- url.test.js
- stderr.txt
- a.js
- b.js
- c.js
- index.js
- prod.sh
- stderr.txt
- a.js
- dev.test.js
- index.js
- stderr.txt
- a.js
- dev.test.js
- index.js
- stderr.txt
- BadCase.js
- dev.test.js
- index.js
- stderr.txt
- index.js
- prod.sh
- stderr.txt
- index.js
- prod.sh
- result.txt
- no-config.test.js
- index.js
- index.js
- a.js
- b.js
- dev.test.js
- index.js
- prod.sh
- browser.js
- server.js
- index.js
- my-tty-shim.js
- package.json
- browser.js
- index.js
- package.json
- index.js
- entry-point-bad.js
- entry-point-good.js
- package.json
- test.sh
- yarn.lock
- index.js
- index.js
- dev.test.js
- esm.js
- index.js
- prod.sh
- index.js
- logo.5d5d9eef.svg
- index.js
- App.css
- App.js
- index.css
- index.js
- logo.svg
- registerServiceWorker.js
- .babelrc
- dev.test.js
- package.json
- postcss.config.js
- prod.sh
- yarn.lock
- index.js
- App.css
- App.js
- index.css
- index.js
- logo.svg
- registerServiceWorker.js
- .babelrc
- dev.test.js
- fastpack.json
- package.json
- postcss.config.js
- yarn.lock
- index.js
- dev.test.js
- index.js
- package.json
- test.css
- yarn.lock
- index.js
- index.js
- custom-loader.js
- dev.test.js
- index.js
- package.json
- prod.sh
- yarn.lock
- index.js
- dev.test.js
- index.js
- stderr.txt
- dev.sh
- index.js
- reexport.js
- x1.js
- x2.js
- index.js
- index.js
- package.json
- test.test.js
- yarn.lock
- stderr.txt
- dev.test.js
- index.js
- package.json
- yarn.lock
- result.txt
- a.js
- dev.test.js
- index.js
- package.json
- yarn.lock
- index.js
- dep.js
- dev.test.js
- index.js
- reexport.js
- index.js
- dev.test.js
- ExportDefaultClass.js
- ExportDefaultNamedClass.js
- ExportNamedClass.js
- index.js
- 5d5d9eefa31e5e13a6610d9fa7a283bb.svg
- index.js
- 5d5d9eefa31e5e13a6610d9fa7a283bb.svg
- index.js
- dev.test.js
- index.js
- logo.svg
- package.json
- prod.sh
- yarn.lock
- aoeu.js
- a.js
- dev.test.js
- index.js
- stderr.txt
- a.js
- b.js
- c.js
- d.js
- default_declaration.js
- e.js
- index.js
- prod.test.js
- index.js
- a.js
- index.js
- prod.sh
- index.js
- a.js
- b.js
- index.js
- prod.sh
- index.js
- a.js
- b.js
- c.js
- dev.test.js
- index.js
- index.js
- data.json
- dev.test.js
- index.js
- package.json
- yarn.lock
- index.js
- index.js
- dev.test.js
- package.json
- yarn.lock
- glyphicons-halflings-regular.448c34a5.woff2
- glyphicons-halflings-regular.89889688.svg
- glyphicons-halflings-regular.e18bbf61.ttf
- glyphicons-halflings-regular.f4769f9b.eot
- glyphicons-halflings-regular.fa277232.woff
- index.js
- glyphicons-halflings-regular.448c34a5.woff2
- glyphicons-halflings-regular.89889688.svg
- glyphicons-halflings-regular.e18bbf61.ttf
- glyphicons-halflings-regular.f4769f9b.eot
- glyphicons-halflings-regular.fa277232.woff
- index.js
- include.less
- index.js
- test.less
- dev.test.js
- include.less
- index.js
- package.json
- prod.sh
- test.less
- yarn.lock
- index.js
- index.js
- dev.js
- dev.test.js
- index.js
- prod.js
- prod.sh
- index.js
- dev.test.js
- index.js
- reexport.js
- x.js
- y.js
- index.js
- dev.test.js
- index.js
- log1.js
- log2.js
- log3.js
- logSource.js
- package.json
- yarn.lock
- index.js
- index.js
- dev.test.js
- index.js
- package.json
- prod.sh
- test.txt
- yarn.lock
- index.js
- index.js
- dev.test.js
- include.scss
- index.js
- package.json
- prod.sh
- test.css
- test.scss
- yarn.lock
- index.js
- index.js
- dev.test.js
- index.js
- prod.sh
- index.js
- index.js
- dep.js
- dev.test.js
- index.js
- package.json
- prod.sh
- yarn.lock
- index.js
- cjs.js
- dev.test.js
- index.js
- package.json
- util.js
- x.js
- y.js
- yarn.lock
- yz.js
- yz_reimport.js
- z.js
- 1.js
- 2.js
- 3.js
- index.js
- a.js
- b.js
- c.js
- d.js
- dev.test.js
- index.js
- index.js
- index.js
- dev.test.js
- index.js
- package.json
- prod.sh
- yarn.lock
- index.js
- index.js
- dev.test.js
- index.ts
- package.json
- prod.sh
- render.ts
- tsconfig.json
- yarn.lock
- index.js
- index.js
- a.js
- dev.test.js
- index.js
- prod.sh
- index.js
- package.json
- babel.config.js
- index.js
- mock.js
- package.json
- index.js
- babel-transpile.js
- builtin-transpile.js
- index.js
- package.json
- index.js
- package.json
- dev.test.js
- package.json
- yarn.lock
- index.js
- index.js
- package.json
- file.js
- index-browser.js
- index.js
- module-browser.js
- module.js
- package.json
- dependency-entry-point.js
- module.js
- package.json
- fs.js
- index.js
- index.js
- index-1.js
- package.json
- test.sh
- yarn.lock
- package.json
- yarn.lock
- .gitignore
- current.js
- LeavePackageDir.js
- print-with-scope.js
- print.js
- server.js
- skip.sh
- transpile-class.js
- transpile-object-spread.js
- transpile-react-jsx.js
- transpile-strip-flow.js
- .ctags
- .gitattributes
- .gitignore
- .ocamlinit
- azure-pipelines.yml
- CODE_OF_CONDUCT.md
- dune-project
- Fastpack.opam
- FastpackTranspiler.opam
- FastpackUtil.opam
- jbuild-ignore
- LICENSE.txt
- Makefile
- package.json
- README.md
- TODO.md
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/fastpack/fastpack
Downloads the entire project code from GitHub to your computer.
cd fastpack
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f linux-build/Dockerfile -t fastpack .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 fastpack
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
$ yarn init -y
Type this command into your terminal and run it.
$ yarn add react react-dom
Type this command into your terminal and run it.
$ yarn add --dev fastpack
Type this command into your terminal and run it.
$ yarn add --dev babel-loader babel-preset-react-app style-loader css-loader url-loader
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
4. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
