https://github.com/petarjs/chpp-loader
https://github.com/petarjs/chpp-loader
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/petarjs/chpp-loader
- Owner: petarjs
- Created: 2019-09-02T09:30:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T09:17:34.000Z (over 3 years ago)
- Last Synced: 2023-08-23T06:27:00.588Z (almost 3 years ago)
- Language: JavaScript
- Size: 248 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webpack Loader for Ћ плус плус
## Running the example
```sh
# install deps
npm i
# run webpack
./node_modules/.bin/webpack
```
## About
We define a local webpack loader (`chpp-loader.js`), which takes in the ћпп code and converts it to JS, outputing it to `dist/bundle.js`.
In `webpack.config.js` we define the entry point to be `./src/код.ћпп`. The idea is that that file would be like an `index.js` which can import other scripts.
## Known issues
It does compile but it does not run :D