Duplicate output CSS file.
See original GitHub issueI want to create these structures in my WP theme:
/src/
-- /scss/
---- /main.scss
----/base/
------/typography.scss
----/modules/
----/partials/
-- /js/
----/vendor/
----/lib/
----/modules/
And tried to modify gulpfile.js as below:
// Style related.
var styleSRC = './src/scss/*.scss'; // Path to main .scss file.
var styleDestination = './assets/css/'; // Path to place the compiled CSS file.
// Default set to root folder.
However when output, it loads to assets/css/assets/css/main.min.css
Can you please check that kind of issue?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Dynamic import(...) cause duplicate output css #216 - GitHub
css file is now emitted twice in the generated output as 1.css and 2.css. Is this expected? This seems like unnecessary duplicate css...
Read more >Why does my code duplicate the css of a file? - Stack Overflow
css file, a good practice is to import everything on the file that will be compiled and not on each partial. Let's imagine...
Read more >duplicate css - npm search
Used to merge image files into one directory and meantime remove duplicate img files. It supports both css files and html files.
Read more >A Front End Dev on Twitter: "Duplicate CSS has added an additional ...
Duplicate CSS has added an additional 1MB to the final output CSS file. An entire extra megabyte of things we do not need...
Read more >MiniCssExtractPlugin - webpack
This plugin extracts CSS into separate files. It creates a CSS file per JS file which contains CSS. It supports On-Demand-Loading of CSS...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sure thing!
Can you check this and repoen for the latest v2 release?