Timothy Achumba

Results 10 comments of Timothy Achumba

Hardcoding the localhost URL solved the issue for me but I'm sure that's just a temp fix

Yeah, I tried this but I just get errors. Seems like it can't resolve that URL.

Hmmm i thought whats what I've done. The sass file type.sass is in a subfolder but it's included n the index.sass

``` @font-face font-family: favorit src: url("/assets/fonts/fl.woff2") format('woff2') src: url("/assets/fonts/fl.woff") format('woff') src: url("/assets/fonts/fl.ttf") format('truetype') font-weight: 300 font-style: normal font-display: fallback ```

This is the error i get ``` in ./src/index.sass (./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/postcss-loader/dist/cjs.js??ref--5-2!./node_modules/resolve-url-loader??ref--5-3!./node_modules/sass-loader/dist/cjs.js??ref--5-4!./src/index.sass) Module not found: Error: Can't resolve './fonts/fl.ttf' in '/Users/timothyachumba/Sites/deep-time/src' ```

seems like it doesn't recognise the two dots, it only shows one `Can't resolve './fonts/fl.ttf'`

I'm pretty sure all I changed was line 12 in the `main.config.js` file ``` const entries = { 'src/index.js': 'www/assets/builds/bundle.js', - 'src/index.scss': 'www/assets/builds/bundle.css' + 'src/index.sass': 'www/assets/builds/bundle.css' } ```

Sorry I was never able to figure this out in the end. I changed my design

I seem to be experiencing the same issue. @Touseef-khattak did you find a solution for this?

This is how I achieved it. ``` window.addEventListener('mousemove', function (event) { const clientX = event.clientX const percentageMoved = clientX / windowWidth const percentageMovedOffset = ((percentageMoved * 1.4) - 0.2) const...