Unprocessed scss file gets copied over to dist during build
See original GitHub issueI have local font definitions imported from style/fonts.scss
in style/main.scss
.
$ tree public
public
├── app.js
├── assets
│ └── fonts
│ ├── lato-v17-latin-ext_latin-italic.woff
│ ├── lato-v17-latin-ext_latin-italic.woff2
│ ├── lato-v17-latin-ext_latin-regular.woff
│ └── lato-v17-latin-ext_latin-regular.woff2
├── index.html
├── index.js
└── style
├── fonts.scss
└── main.scss
Build properly builds css and puts content into single minified file, but leaves unprocessed style/fonts.scss
in dist
:
$ tree dist
dist
├── assets
│ ├── fonts
│ │ ├── lato-v17-latin-ext_latin-italic.woff
│ │ ├── lato-v17-latin-ext_latin-italic.woff2
│ │ ├── lato-v17-latin-ext_latin-regular.woff
│ │ └── lato-v17-latin-ext_latin-regular.woff2
│ └── main.e75a073a.css
├── chunks
│ └── prerender.8ab96da0.js
├── index.13d2992f.js
├── index.html
└── style
└── fonts.scss
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to copy static files to build directory with Webpack?
gave up on file loader after several failed attempts to get it to do a very simple command. your plugin worked first time....
Read more >Can't use relative paths in url() in scss files #12797 - GitHub
I would like to be able to use the relative file path in the scss file ... so that the sprite is copied,...
Read more >css-loader | webpack - JS.ORG
Enable CSS modules for files based on the filename satisfying your regex check. webpack.config.js module.exports = { module: { rules: ...
Read more >Comparing the New Generation of Build Tools - CSS-Tricks
Hugh Haworth on Apr 8, 2021 (Updated on Jan 5, 2022 ) ... Then, I used the following command to compile the app...
Read more >Asset compilation - Advanced use - Ember CLI Guides
When working on an Ember app, sometimes you may want to customize how ... that allows you to enter your non-prefixed CSS and...
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
Apart of https://github.com/preactjs/wmr/issues/291 evetything seems to work fine. 😉
@zgoda So just a leftover file then? Functionally everything is working as you’d expect?