Giter VIP home page Giter VIP logo

theknarf.github.io's Introduction

My personal webpage

This is the source for https://theknarf.com/

Setup and build

git submodule update --init --recursive
yarn install
cd packages/theknarf-com
yarn build

theknarf.github.io's People

Contributors

dependabot[bot] avatar theknarf avatar

Watchers

 avatar

theknarf.github.io's Issues

"Setting up / building" page

This comment mentions how you can use devMiddleware.waitUntilValid(() => { /* do something here */ }); to wait for the build. This would be great for larger webpages / slow computers.

Could I setup so that it shows a Setting up / building page while it builds and then automatically refreshes when its up? This could perhaps be combined with webpack-hot-middleware.

Error handeling in ravendesk dev

The ravendesk dev command currently doesn't handle errors that well (where source code it tries to build might be mallformed). I need to add some try catches around and some kind of retry logic to make this more consistent for people to work with.

Error: Cannot read outputFileSystem of a MultiCompiler

When having a multicompiler setup where the Webpack config is an array of two or more configs I sometimes get the following error:

Error: Cannot read outputFileSystem of a MultiCompiler

The problem comes from this part of the code where it tries to access the outputFileSystem when it's a multicompiler build.

The solution seems to be to follow what this comment says. In other words using something like the following code:

var isMemoryFs = compiler.outputFileSystem instanceof MemoryFileSystem;
if(isMemoryFs) {
   fs = compiler.outputFileSystem;
} else {
   fs = compiler.outputFileSystem = new MemoryFileSystem();
}

TODO

  • Try to use such a solution to fix the problem
  • Write a unit-/integration- test for it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.