Matheus Giovani 463c879255 fixes some minor bugs and adds new documentation пре 3 година
..
src 463c879255 fixes some minor bugs and adds new documentation пре 3 година
.gitignore b508f2f301 fixes gitignore пре 3 година
README.md 53337b9ad0 entire refactor with custom node parser пре 3 година
package.json b34035f18e added style pre-processor and scoped styles пре 3 година
tsconfig.json ec3855642f added build configuration пре 3 година
tsconfig.prod.json ec3855642f added build configuration пре 3 година

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.