Matheus Giovani 463c879255 fixes some minor bugs and adds new documentation il y a 3 ans
..
src 463c879255 fixes some minor bugs and adds new documentation il y a 3 ans
.gitignore b508f2f301 fixes gitignore il y a 3 ans
README.md 53337b9ad0 entire refactor with custom node parser il y a 3 ans
package.json b34035f18e added style pre-processor and scoped styles il y a 3 ans
tsconfig.json ec3855642f added build configuration il y a 3 ans
tsconfig.prod.json ec3855642f added build configuration il y a 3 ans

README.md

pupper.js icon

@pupperjs/compiler

The compiler for pupper.js component.

This is a BETA project, it can change drastically over time, so use it with caution for now and stay updated! :D


Under the hood

  • pupper.js uses pug as the main language component. All the templates are compiled as HTML using pug.

    • A custom pug plugin is used for lexing and parsing the instructions into components.
  • It also uses ts-morph for processing the resulting components code.

  • For TypeScript compilation, it uses the default compiler, tsc.

  • For Sass and Scss, it uses sass.