EGOIST
EGOIST
Maybe adding a `aho.json` for configuration: ```js { "ignore": ["./package-lock.json"] } ```
automatically transform markdown to html and highlight code blocks / example: ```js aimer.add({ readme: 'some markdown', example: 'some code' }) ```
eg: you can use Vue component by default, or React component when you're using `aimer-react`
```vue {{ count }} // pre-evaluate at build time module.exports = () => ({ count: 0 }) ``` ```js { resourceQuery: /blockType=aot/, loader: 'aot-loader/vue' } ```
Tested against: ```ts export { useRoute } from "vue-router" ``` The command I ran: ```bash esbuild index.js --bundle --outfile=out.js --external:vue --format=esm ``` Result, unused imports from `vue`: Online playground: https://stackblitz.com/edit/node-fm1edb?file=readme.md
Given following config: ```json ["module-resolver", { "root": ".", "alias": { "@": "." } }] ``` And sample code: ```js import main from '@/src/index' ``` This will be transformed to: ```js...
Ream 3.0 is still kind of a beta software, I'll try to make 4.0 the first stable release. đŸ˜„ Todos: - PWA support... - Export a webpack config which can...