Luis Aleman

Results 9 comments of Luis Aleman

Would picking up a syntax like in [http-rewrite-middleware](https://www.npmjs.com/package/http-rewrite-middleware) work? Example from their docs: ``` js var rewriteMiddleware = rewriteModule.getMiddleware([ // Internal rewrite {from: '^/index_dev.html$', to: '/src/index.html'}, // Internal rewrite {from:...

`*text*` and `*flattext*` both refer to the description. https://github.com/downthemall/downthemall/blob/84160d789062691de0ffd82bdc4ebc123b540203/modules/manager/renamer.js#L28-L29

@tommck The problem is in Karma, not Rollup (or karma-rollup-preprocessor). If you see [Karma Webpack's Alternative Usage](https://github.com/webpack-contrib/karma-webpack#alternative-usage) section, it too suggests a single entry point referencing all other files for...

@tommck > rollup doesn't support importing a bunch of test files all into one Officially, it does. See [@rollup/plugin-multi-entry](https://github.com/rollup/plugins/tree/master/packages/multi-entry) > I'd say that's still a rollup + karma problem, since...

@tommck I know, and that is what I suggested above. A single entry point that imports all others.

@tommck Not necessarily. Like webpack ([webpack-import-glob-loader](https://www.npmjs.com/package/webpack-import-glob-loader)), Rollup can be configured to import with glob ([rollup-plugin-glob-import](https://www.npmjs.com/package/rollup-plugin-glob-import)). In which case you could have your entry file look like the following: ```javascript import...

Honestly, just a section similar to the one in [Karma Webpack's](https://github.com/webpack-contrib/karma-webpack#alternative-usage) readme would suffice. Single entry does come with caveats in my experience though. Karma watcher doesn't really work since...

Why not the `config` and/or `pkgConf` options from yargs? - `config()` Adds `--config` option to specify a path to JSON config file. - `pkgConf('concurrently')` Reads `concurrently` property from package.json as...

This issue was mentioned in a comment before, and needs more attention imo: https://github.com/parcel-bundler/lightningcss/issues/554#issuecomment-1660411544 Here is their [playground link](https://lightningcss.dev/playground/index.html#%7B%22minify%22%3Atrue%2C%22nesting%22%3Afalse%2C%22customMedia%22%3Atrue%2C%22cssModules%22%3Afalse%2C%22analyzeDependencies%22%3Afalse%2C%22targets%22%3A%7B%22chrome%22%3A6553600%7D%2C%22include%22%3A0%2C%22exclude%22%3A0%2C%22source%22%3A%22.foo%20%7B%5Cn%20%20padding%3A%20var(--grid)%20calc(2%20*%20var(--grid))%3B%5Cn%7D%22%2C%22visitorEnabled%22%3Atrue%2C%22visitor%22%3A%22%7B%5Cn%20%20Variable(variable)%20%7B%5Cn%20%20%20%20if%20(variable.name.ident%20%3D%3D%3D%20'--grid')%20%7B%5Cn%20%20%20%20%20%20return%20%7Btype%3A%20'length'%2C%20value%3A%20%7Bunit%3A%20'rem'%2C%20value%3A%200.25%7D%7D%5Cn%20%20%20%20%7D%5Cn%20%20%7D%5Cn%7D%22%2C%22unusedSymbols%22%3A%5B%5D%2C%22version%22%3A%22local%22%7D)