Øyvind Saltvik

Results 184 comments of Øyvind Saltvik

Nothing like that in razzle currently. All happens here https://github.com/jaredpalmer/razzle/blob/master/packages/razzle/scripts/build.js

https://github.com/jaredpalmer/razzle/discussions/1448

You should install razzle canary. https://github.com/jaredpalmer/razzle/blob/canary/examples/with-heroku/README.md

```js const { InjectManifest } = require("workbox-webpack-plugin"); module.exports = { options: { forceRuntimeEnvVars: ['HOST', 'PORT'] }, modifyWebpackConfig({ env: { target, dev, }, webpackConfig, webpackObject, options: { razzleOptions, webpackOptions, }, paths,...

Ts is builtin in canary.

with decorators even https://github.com/jaredpalmer/razzle/tree/canary/examples/with-typeorm-graphql

It is a eslint rule, so look at the presets/rules being used in eslintrc. Consult eslint docs and the presets docs to tweak the rules till it works. Eslint rules...

You need to extend the existing devServer config ```js "use strict"; module.exports = { modify: (config, { target, dev }, webpack) => { config.devServer = Object.assign(config.devServer, { open: "chrome", });...

Ah, was a issue with that solution. ```js "use strict"; module.exports = { modify: (config, { target, dev }, webpack) => { if (target == 'web') { config.devServer = Object.assign(config.devServer,...

The browser application name is platform dependent. Don't hard code it in reusable modules. For example, 'Chrome' is 'Google Chrome' on macOS, 'google-chrome' on Linux and 'chrome' on Windows.