James Auble
James Auble
> ```js > const defaultConfig = require( '@wordpress/scripts/config/webpack.config' ); > ``` Trying this out but getting ``` webpack-cli] Failed to load '/Users/jamesauble/Projects/diesel/wp-content/themes/fictional-clean-blocks/webpack.config.js' config [webpack-cli] TypeError: defaultConfig.entry is not a function...
> @james0r this line is calling `defaultConfig.entry()` like a function: > > ``` > ...defaultConfig.entry(), > ``` > > Will you try replacing it with this: > > ``` >...
> @james0r What version of `@wordpress/scripts`? It may be related to [this discussion](https://github.com/WordPress/gutenberg/discussions/44010#discussioncomment-9284674). I just figured out that I'm only having the `defaultConfig.entry is not a function` issue when running...
@tnishimura thanks for the mixin that fixed my issue. Seems so wonky but I can't figure out how to debug this issue with my lifecycle hooks not firing when routing...
Also got this upon upgrading to v8. Reverting no longer showed the error.
I can confirm the same thing. No matter where I place `{% endjs %}` it ends up bleading into the following code.
I tried the above mentioned fork and although it works i'm notice serious slugishness in VSCode after install. Disabling the extension returns VS Code to smooth working order. There is...
This worked for me -> https://github.com/Shopify/hydrogen/issues/1734#issuecomment-1931788741
@DamChtlv No framework. I'm using [Laravel Vite](https://github.com/laravel/vite-plugin) that creates the /hot file when in dev mode. Using Vite v4.5. Vite config is as follows ```javascript import { defineConfig } from...
I think this is related. This asset just hangs as pending I don't see any CORS errors but it's the only asset that has Sec-Fetch-Mode set to `cors`. It prevents...