diff --git a/README.md b/README.md index 66f69b8..f5f0fb5 100644 --- a/README.md +++ b/README.md @@ -44,9 +44,7 @@ This module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awe - [htmlFragment()](#htmlfragment) - [htmlFragmentSync()](#htmlfragmentsync) - [SSR with Express (Node.js)](#ssr-with-express-nodejs) - - [Browser](#browser) - - [ES Modules](#es-modules) - - [UMD](#umd) + - [Browser support](#browser-support) - [API Reference](#api-reference) - [html()](#html-1) - [htmlSync()](#htmlsync-1) @@ -143,32 +141,16 @@ html`${syncTask}${peopleList}${asyncTask}`; [![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14) -### Browser +### Browser support -#### ES Modules +Only modern browsers with native ES Modules support requires no polyfills and transpilation needed. ```html - - -``` - -#### UMD - -```html - - - - - diff --git a/rollup.config.js b/rollup.config.js index 92d89a3..97ccd25 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -52,14 +52,14 @@ const multiBuild = [ format: 'cjs', exports: 'named', }, - { - input: ['src/lit-ntml.ts'], - file: 'dist/lit-ntml.umd.js', - format: 'umd', - name: 'LitNtml', - exports: 'named', - browser: true, - }, + // { + // input: ['src/lit-ntml.ts'], + // file: 'dist/lit-ntml.umd.js', + // format: 'umd', + // name: 'LitNtml', + // exports: 'named', + // browser: true, + // }, { input: ['src/lit-ntml.ts'], file: 'dist/lit-ntml.js',