https://github.com/xtuc/c-webpack-demo
Just import c code in your JavaScript project
https://github.com/xtuc/c-webpack-demo
Last synced: 12 months ago
JSON representation
Just import c code in your JavaScript project
- Host: GitHub
- URL: https://github.com/xtuc/c-webpack-demo
- Owner: xtuc
- Created: 2018-05-23T13:39:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T14:22:42.000Z (about 8 years ago)
- Last Synced: 2025-08-10T00:41:00.634Z (12 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 39
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bundling C demo
It's using https://github.com/xtuc/holyc for the compilation, It will likely **only work for Linux**.
## Usage
Install:
```sh
npm install
```
Webpack:
```sh
webpack -w
```
Web server:
```sh
http-server .
```
and go to [http://localhost:8080/dist](http://localhost:8080/dist/).