Øyvind Saltvik
Øyvind Saltvik
We could add that to razzle start maybe?
We could change razzle start to call open if it is set in the webpack config. Can look into it.
> Hey there @fivethreeo , I see you assigned this to yourself. If you aren't actively exploring, I can look. Go ahead. :)
The thing is, I am lost too. Want to go for a ride 😆
So, port razzle to ts, also I would like razzle commands to be plugins aswell, the idea in the link. Webpack could be its own plugin that adds start and...
So I imagine something like this. ```typescript // razzle.config.ts import { RazzleConfig } from 'razzle'; import { RazzleWebpack5PluginConfig } from 'razzle-plugin-webpack5 '; export default = class { } ``` Cannot...
```typescript interface RazzleConfig { modifyRazzleOptions: function } ``` Well ts syntax again, just psuedocode
Could work out the interfaces first, and implement them after.
```ts interface PluginNameWithOptions{ name: string; options: T; } interface PluginInstanceWithOptionalOptions { instance: T; options?: U; } interface RazzleOptions { verbose: boolean; debug: boolean; } interface RazzleConfig { options: RazzleOptions; plugins:...
https://github.com/jaredpalmer/razzle/tree/alpha https://dev.to/cryogenicplanet/an-actual-complete-guide-to-typescript-monorepos-240l https://github.com/webpack/webpack/discussions/14361#discussioncomment-1413585