Builds and Pipelines

Cannot augment module ‘console’ with value exports because it resolves to a non-module entity.

This error message appears when typings are exposed globally, yet TypeScript tries to validate module typings and the names conflict.

Cannot augment module ‘console’ with value exports because it resolves to a non-module entity. Read More »

Building a Preact application into a standalone script with Rollup

Rollup is a module bundler for JavaScript, made for speed and simplicity of setup. It also does tree-shaking (imports only the functionality you actually imported), supports JSX compilation and provides other neat functionality.

Building a Preact application into a standalone script with Rollup Read More »

Building React/Preact into a standalone script with Browserify

Browserify is a bundler that magically normalizes all your npm requirements into something a browser can understand. This means that your whole application can be minified into just 1 script that you can include in a regular HTML page.

Building React/Preact into a standalone script with Browserify Read More »