0.12.2 • Published 3 years ago

@chialab/swc-plugin-htm v0.12.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

⚠️ The development of this plugin has been suspended for maintenance reasons after an initial trial period. Developments will follow when the swc project will be more stable.


Install

$ npm i @chialab/swc-plugin-html -D
$ yarn add @chialab/swc-plugin-html -D

Usage

import swc from '@swc/core';
import { plugin as htmPlugin } from '@chialab/swc-plugin-htm';

swc
    .transform("source code", {
        plugin: htmPlugin({ tag: 'html', pragma: 'h' }),
    })
    .then((output) => {
        output.code; // transformed code
        output.map; // source map (in string)
    });

License

SWC Plugin HTM is released under the MIT license.

0.12.2

3 years ago

0.12.0

3 years ago

0.11.8

3 years ago

0.11.13

3 years ago

0.11.0

3 years ago

0.10.0

3 years ago

0.9.12

3 years ago

0.9.10

3 years ago

0.9.0

3 years ago

0.8.13

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.8

3 years ago

0.5.0

3 years ago

0.4.22

3 years ago

0.4.17

3 years ago

0.4.16

3 years ago

0.4.15

3 years ago

0.4.13

3 years ago

0.4.11

3 years ago