mini-css-extract-plugin Questions
7
WARNING in chunk AccessRights~Groups~Navigator [mini-css-extract-plugin]
Conflicting order between:
css ../node_modules/css-loader??ref--7-1!../node_modules/postcss-loader/lib!./components/Icon/_...
Paymar asked 22/8, 2018 at 17:2
4
I am relatively new to express + webpack, so i am unclear wether this is intended or not, and if not, how to properly configure it. the question is around the additional asset & entry point cre...
Georgettegeorgi asked 29/8, 2018 at 8:6
3
Solved
How can I setup webpack for my gutenberg blocks to extract multiple css files and bundle these based on the name of the stylesheets.
Zack Gordon used the Extract Text Plugin for this with webpack ...
Rest asked 14/4, 2019 at 15:38
5
Solved
I use Webpack 4 in a project where I only need to compile and bundle styles so far. There's no Javascript.
Here's the config I have:
const path = require('path');
const MiniCssExtractPlugin = req...
Purvey asked 20/5, 2018 at 0:2
1
I'm working on the project upgrading from webpack 3 to webpack 5. In the project, it was using raw-loader and extract-text-webpack-plugin to parse imported html file(angular component), then combin...
Transformism asked 21/2, 2022 at 12:52
6
I'm trying to move assets (images and fonts) used in one of my .scssfiles, but it seems that they get ignored:
This is my .scss file:
@font-face {
font-family: 'myfont';
src: url('../../assets/...
Decorous asked 24/12, 2018 at 22:25
0
I'm using mini-css-extract-plugin in my webpack, version 1.3.6 but when trying to run dev build getting the below error. css and scss both are in the app.
ERROR in ./src/index.css
Module build fail...
Larrylars asked 27/2, 2022 at 14:0
3
Solved
I am trying to extract the css files in my library. I've read the way to do this is using mini-css-extract-plugin.
Am I doing something wrong? Is there another way to extract the css files for my l...
Eavesdrop asked 29/1, 2021 at 20:35
2
Solved
I'm creating an app using react it runs fine on npm start but when I try to build the app, this show the following error.
PS D:\ ****\ **\*\profile> npm run build
> [email protected] bu...
Irresoluble asked 15/1, 2022 at 7:42
1
I am trying to use Webpack 5 to bundle assets for a dynamic multi-page Django application. Using WebpackManifestPlugin and django-manifest-loader. I have this working fine for JavaScript, but I've ...
Cosher asked 24/9, 2021 at 8:37
4
I'm using Webpack ^4.26.0. I've used "extract-text-webpack-plugin" with Webpack 3 before to use for CSS. But I've read that that plugin isn't working anymore on Webpack 4. And "extract-text-webpack...
Wantage asked 21/11, 2018 at 9:8
2
When i Webpack my project using MiniCssExtractPlugin to separate css into files, it creates the main.css file but never write the link into my html file.
Here is my webpack.config.js :
const webp...
Rapt asked 30/7, 2019 at 10:7
1
Solved
I have a fairly large Vue project that was initially created with vue-cli. I'm getting the infamous "couldn't fulfill desired order of chunk group(s)" warning when building. After much se...
Quass asked 15/4, 2021 at 21:19
2
Been trying to research this but it doesn't seem as if any else has this, or see this as an issue.
I am using mini-css-extract-plugin(MiniCssExtractPlugin) in my webpack.config.js.
However, when ...
Celiotomy asked 21/6, 2019 at 11:59
1
Solved
I am using webpack's CssMinimizerWebpackPlugin (docs). I initially configured it as recommended on the documentation
optimization: {
minimize: true,
minimizer: [
// For webpack@5 you can use th...
Twum asked 14/3, 2021 at 23:36
2
I am facing difficulty understanding the nature of URLs/paths and how they are resolved while using the mini-css-extract-plugin, file-loader and configuring their options such as the context and fi...
Vonnievonny asked 4/3, 2020 at 20:29
1
Solved
I'm trying to set up a tailwind css for my personal project. It's a react SSR application. I'm having an issue with postcss setup under the webpack configuration. It throws the same error on every ...
Gavingavini asked 13/2, 2021 at 15:35
1
Solved
When I try to use the loader for mini-css-extract-plugin webpack returns the following error:
/node_modules/mini-css-extract-plugin/dist/loader.js:122
for (const asset of compilation.getAssets()) ...
Tomb asked 13/2, 2021 at 13:8
1
Following on from this question I have set up my Webpack 4 config to handle babel-loader like this
{
module : {
rules : [{
test : /\.js$/,
// Some module should not be transpiled by Babel
// ...
Callery asked 3/5, 2020 at 17:27
2
Solved
I am using the mini-css-extract-plugin to extract the CSS from a bundle to a file. I need to drop that file in a different place in the filesystem.
How do I configure the mini-css-extract-plugin to...
Declass asked 19/10, 2018 at 13:54
1
I am having problem removing unused CSS in webpack 4. It seems that most of the CSS purification plugins are dependent on extract text plugin which is not updated for version 4.
Here's my commands:...
Inessive asked 4/4, 2018 at 17:27
2
{
test: /\.module\.scss$/,
use: [
{ loader: MiniCssExtractPlugin.loader, options: { publicPath: '../' } },
{
loader: 'css-loader',
options: {
modules: { localIdentName: '[local]---[hash:base...
Zwinglian asked 14/8, 2019 at 2:7
1
Solved
The problem
When I run npm run build in my Gatsby project, I'm getting multiple warnings of the same kind:
warn chunk styles [mini-css-extract-plugin]
Conflicting order. Following module has been a...
Contango asked 27/7, 2020 at 22:20
1
Solved
In webpack when configuring the MiniCssExtractPlugin, I don't understand why [name] is always "main"?
plugins: [
new MiniCssExtractPlugin({
filename: 'assets/css/[name].css' // where does the ...
Aardwolf asked 9/2, 2020 at 18:33
2
I am using a project created with the latest version of vue cli 3 . I am using the default config , My router has many dynamically imported routes . Both my css and js are split into multiple chunk...
Etamine asked 18/2, 2019 at 13:16
1 Next >
© 2022 - 2024 — McMap. All rights reserved.