better way to use typescript / postcss / etc with nextjs
gulp and preact branches also
Execute create-next-app with Yarn or npx to bootstrap the example:
npx create-next-app --example custom-tbd my-tbd
# or
yarn create next-app --example custom-tbd my-tbdDownload the example:
curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/custom-tbd
cd my-tbdInstall it and run:
npm install
node start
# or
yarn
node startDeploy it to the cloud with now (download)
nowthe bundler does not need to be coupled to the compilers / optimizers. The example shows how you can use TypeScript or any other transpile step to feed the bundler the production ready files