webdiscus
webdiscus
```diff template.launcher.immersive .wrap .grid(part='inner') slot // webpackIgnore: true style(scoped=''). @import url("./modules/uno.css"); // webpackIgnore: true style(scoped=''). @import url("./modules/styles.css"); // exact moment, but in practice harder - style(scoped='') - include ./x-grid.scss //-...
> I sometimes thought that `` is still for the `` tag, and is more intended for global styles, while `` still implies `scoped` ie within the web component. you...
@unit-404 I have added experimental support to include a compiled CSS directly to `style` tag using the `require()` and the `?include` query: ```pug style(scoped='some')=require('./x-grid.scss?include') ``` The generated HTML: ```html ......
@scott-primacy please read the manual [Install and Quick Start](https://github.com/webdiscus/html-bundler-webpack-plugin/issues/90#install). 1. delete the loader - MiniCssExtractPlugin.loader 2. delete the plugin - MiniCssExtractPlugin 3. delete the loader - `html-loader` Please create a...
@scott-primacy the correct webpack config: ```js const path = require('path'); const TerserPlugin = require('terser-webpack-plugin'); const ESLintPlugin = require('eslint-webpack-plugin'); const CssMinimizerPlugin = require('css-minimizer-webpack-plugin'); const FileManagerPlugin = require('filemanager-webpack-plugin'); const HtmlBundlerPlugin = require('html-bundler-webpack-plugin');...
@scott-primacy > `Cannot find module '/Users/scottr/work/webpack-testing/src/styles/app.css'` of course is not found. Did you see my [PR](https://github.com/scott-primacy/webpack/pull/1)? Firstly merge my PR into your demo and see how it works. You should...
@Knagis if you want to use source files of styles and scripts directly in your template, try to use the [html-bundler-webpack-plugin](https://github.com/webdiscus/html-bundler-webpack-plugin). The plugin detects all source files referenced in a...
Hello @KrzysztofZawisla, thanks for the feature request! I don't use rspack (yet), but I'm thinking of using it in the future (next year) and I will optimize the plugin for...
@KrzysztofZawisla can you please create a repo with reproducible issue. I'll see whether the problem is difficult. Perhaps this is not such complex and I can quickly fix it.
@KrzysztofZawisla, @davidmurdoch, @exocornet Currently, RSPack `v0.5.6` is yet not 100% compatible with the Webpack. Using the `html-bundler-webpack-plugin` with `RSPack` occurs the issue: ``` /Users/xxxx/html-bundler-webpack-plugin/experiments/rspack/node_modules/@rspack/core/dist/Compiler.js:518 __classPrivateFieldSet(this, _Compiler_instance, new instanceBinding.Rspack(rawOptions, this.builtinPlugins, {...