preact-compat-scripts-ts

0.9.24 • Public • Published

preact-compat-scripts-ts npm version

Create React-compatable apps with Preact (and Typescript) with no build configuration.

Compressed output:

File sizes after gzip:

  12.91 KB  build/static/js/main.c57e6d2d.js
  317 B    build/static/css/main.9a0fe4f1.css

tl;dr

npm install -g create-react-app
 
create-react-app my-app --scripts-version=preact-compat-scripts-ts
cd my-app/
npm start

Additional Features

Code highlighting on error

When you run npm run build the terminal will output the error, including the highlighted sourecode (like babel)!

CodeHighlight

Credits

Forked from react-scripts-ts by William Monk.

/preact-compat-scripts-ts/

    Package Sidebar

    Install

    npm i preact-compat-scripts-ts

    Weekly Downloads

    1

    Version

    0.9.24

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • jmfirth