Comments (4)
Ask the front-end devs what they are using to build the React app
from recordexpungpdx.
@erikjasso right now the frontend is set up to use the create-react-app defaults (Webpack) to do builds and I don't see a need to change that in the future. You can do a build in that directory with the command npm run build
and it looks like this:
mkw@M4600:~/Documents/repos/recordexpungPDX/recordexpungPDX/src/frontend$ npm run build
> [email protected] build /home/mkw/Documents/repos/recordexpungPDX/recordexpungPDX/src/frontend
> react-scripts-ts build
Creating an optimized production build...
Starting type checking and linting service...
Using 1 worker with 2048MB memory limit
(node:8496) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
Compiled successfully.
File sizes after gzip:
34.18 KB build/static/js/1.be79822f.chunk.js
3.56 KB build/static/js/main.7dcb98c8.chunk.js
1.02 KB build/static/css/main.60428d27.chunk.css
763 B build/static/js/runtime~main.229c360f.js
The project was built assuming it is hosted at the server root.
You can control this with the homepage field in your package.json.
For example, add this to build it for GitHub Pages:
"homepage" : "http://myname.github.io/myapp",
The build folder is ready to be deployed.
You may serve it with a static server:
npm install -g serve
serve -s build
Find out more about deployment here:
http://bit.ly/CRA-deploy
from recordexpungpdx.
@maxkwallace I've never used Webpack. What does it do?
from recordexpungpdx.
@erikjasso Webpack is a tool that's primarily used to transform Javascript code files on the filesystem (i.e. what we edit in a repo) into static assets, typically and most importantly, one or more big Javascript files that's the result of bundling together and minifying all the code you need.
from recordexpungpdx.
Related Issues (20)
- Paperwork printouts sometimes do not record checked boxes HOT 1
- Bounding box on cases in expanded analysis section HOT 4
- Create soft requirments for FillForms HOT 5
- Provide alternative search summary display HOT 6
- Create feature to log out of OECI credentials
- Create a section at the end of the Manual where we can post Form links
- Create new Eligibility types: "Eligible but on case with [Ineligible/Future Eligible] charge" HOT 14
- Add new Partners to the landing page HOT 5
- Add Arrest Date information to all expungement forms HOT 2
- Remove `#paybalances` links HOT 1
- Typo in "manual" page HOT 1
- Felony reduced to misdemeanor disambiguation
- Clackamas County HOT 4
- Implementing an "Expanded View" HOT 1
- NEW FORMS HOT 13
- NEW FORM PART 2 requests HOT 1
- Fix time analyzer tests HOT 4
- Makefile, Docker Compose, eslint HOT 5
- Broken deploy to staging
- Generate Paperwork button bug HOT 1
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 recordexpungpdx.