Marcell Endrey

Results 8 comments of Marcell Endrey

Here's my naive implementation: ```typescript const fs = require('fs'); const styleLoaderPlugin = { name: 'styleLoader', setup: build => { // replace CSS imports with synthetic 'loadStyle' imports build.onLoad({ filter: /\.css$/...

In other news, I'm also tripping up on the tilde-prefix convention that Webpack's style-loader uses to resolve imports from `node_module` (https://webpack.js.org/loaders/css-loader/#import). Specifically, these occur in `@import` statements inside of CSS/LESS...

Hey @evanw, sorry for nagging but I'm still really hoping you could point me in the right direction regarding these 2 questions: 1. How should I approach less files if...

Update: I created a minimal demonstration for how this plugin would work at https://github.com/endreymarcell/esbuild-plugin-webworker ~An important difference to Webpack is that this one does not inline the code of the...

@RReverser oh OK, thanks for the correction. I updated the original comment to not mislead anyone. Also created a little example at https://github.com/endreymarcell/esbuild-plugin-webworker for anyone who might find it useful.

> > It works but uses a rather ugly hack to pass both the importer path and the imported file's path to be onLoad handler which makes me think there...

Hey there! [According to DeepSource](https://discuss.deepsource.io/t/how-is-documentation-coverage-calculated/65), this metric shows "the number of scopes that have some sort of documentation added, versus the number of scopes (classes, functions, structs, modules) that exist...

I suggest we stop and think about what is the goal here. Public documentation (as in generated HTML pages and readthedocs.org) is generally used for projects which are to be...