https://github.com/snvfk1n/static-setup
⚙ personal setup for static websites
https://github.com/snvfk1n/static-setup
webpack
Last synced: 6 months ago
JSON representation
⚙ personal setup for static websites
- Host: GitHub
- URL: https://github.com/snvfk1n/static-setup
- Owner: snvfk1n
- License: mit
- Created: 2017-03-07T22:43:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-21T22:02:32.000Z (over 9 years ago)
- Last Synced: 2025-02-05T03:26:21.811Z (over 1 year ago)
- Topics: webpack
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jan's Static Setup
This is a simple setup for building websites that emit static assets, i.e., a
SPA using [React](https://facebook.github.io/react/), built with
[Webpack](https://webpack.js.org/). Several configurations are provided
(`webpack.config.js`, `.babelrc`, …), and dependencies are added via
`yarn add …` without a lockfile.
For setup, perform the following steps:
1. Get the files of this repo: `git clone --depth=1 https://github.com/fallafeljan/static-setup.git`
2. Perform installation: `./install.js`
3. Remove unused files (`install.js`, `.git`)
After setting up, the following commands are at your hands:
* `yarn run dev` Spawn a local development server
* `yarn run build` Build all static assets into (see `public/`)