This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/siaviewnode-server
Karol Wypchlo ef3a6d411a remove GET endpoint, handled by nginx proxy 2020-02-17 12:44:15 +01:00
..
src remove GET endpoint, handled by nginx proxy 2020-02-17 12:44:15 +01:00
.gitignore Add nodejs app 2020-01-31 15:18:58 -05:00
README.md Add nodejs app 2020-01-31 15:18:58 -05:00
backpack.config.js Add nodejs app 2020-01-31 15:18:58 -05:00
package-lock.json Add nodejs app 2020-01-31 15:18:58 -05:00
package.json Merge pull request #13 from NebulousLabs/dependabot/npm_and_yarn/ramda-0.27.0 2020-02-17 04:26:37 -05:00
tsconfig.json Add nodejs app 2020-01-31 15:18:58 -05:00
yarn.lock Add nodejs app 2020-01-31 15:18:58 -05:00

README.md

Custom Webpack Configuration With Typescript Example

How to use

Download the example (or clone the whole project)[https://github.com/palmerhq/backpack.git]:

curl https://codeload.github.com/palmerhq/backpack/tar.gz/master | tar -xz --strip=2 backpack-master/examples/with-typescript
cd with-typescript

Install it and run:

npm install
npm run dev

Idea behind the example

This demonstrates how to customize the underlying Webpack 2 configuration in a Backpack project using a backpack.config.js file. The app itself is exactly the same project as the Webpack configuration example. However, the express application is written in TypeScript.