An open API service indexing awesome lists of open source software.

https://github.com/marcalexiei/ractive-html-loader

Ractive HTML loader for Webpack
https://github.com/marcalexiei/ractive-html-loader

html loader ractive webpack

Last synced: about 2 months ago
JSON representation

Ractive HTML loader for Webpack

Awesome Lists containing this project

README

          

# Ractive HTML loader

[![CI][CIBadge]][CIURL]
[![Code style: prettier][CodeStyleBadge]][CodeStyleURL]
[![Lint: eslint][lintBadge]][lintURL]
[![npm version][npmVersionBadge]][npmVersionURL]
[![issues][issuesBadge]][issuesURL]

[CIBadge]: https://img.shields.io/github/actions/workflow/status/marcalexiei/ractive-html-loader/ci.yml?style=for-the-badge&logo=github&event=push&label=CI
[CIURL]: https://github.com/marcalexiei/ractive-html-loader/actions/workflows/CI.yml/badge.svg
[CodeStyleBadge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=for-the-badge&logo=prettier
[CodeStyleURL]: https://prettier.io
[npmVersionBadge]: https://img.shields.io/npm/v/ractive-html-loader.svg?style=for-the-badge&logo=npm
[npmVersionURL]: https://www.npmjs.com/package/ractive-html-loader
[lintBadge]: https://img.shields.io/badge/lint-eslint-3A33D1?logo=eslint&style=for-the-badge
[lintURL]: https://eslint.org
[issuesBadge]: https://img.shields.io/github/issues/marcalexiei/ractive-html-loader.svg?style=for-the-badge
[issuesURL]: https://github.com/marcalexiei/ractive-html-loader/issues

Based on [webpack-html-loader](https://github.com/webpack-contrib/html-loader).

This loader parse Ractive templates [Ractive](https://github.com/ractivejs/ractive) into object template (via [Ractive.parse](https://ractive.js.org/api/#ractiveparse)) and resolves loadable resources.

See [documentation site](https://marcalexiei.github.io/ractive-html-loader) for more information.

## TODO - FUTURE

- improve attribute handling