1
0
Matheus Giovani 463c879255 fixes some minor bugs and adds new documentation 2 жил өмнө
..
src 463c879255 fixes some minor bugs and adds new documentation 2 жил өмнө
.gitignore b508f2f301 fixes gitignore 2 жил өмнө
README.md 53337b9ad0 entire refactor with custom node parser 2 жил өмнө
package.json b34035f18e added style pre-processor and scoped styles 2 жил өмнө
tsconfig.json ec3855642f added build configuration 2 жил өмнө
tsconfig.prod.json ec3855642f added build configuration 2 жил өмнө

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.