node-fs-extra
node-fs-extra copied to clipboard
File is not getting copy when @import statement is there in css file
- Operating System: Mac OS Monterey
- Node.js version: v14.19.1
-
fs-extra
version: 9.0.1
Trying this command fs.copySync('sourcefile.css', '/dummy/sourcefile.css');
where
source file is having @import statement as content like sourcefile.css
@import 'framework-classic-all_01.css';@import 'framework-classic-all_02.css';
If I remove @Import statement it work well. Only creating problem for @import statement.
The contents of the file should have no bearing on this. What kind of problem are you having?
This files are not getting copy using copySync.
Is there an error? Is it failing silently?
Yeah there is not error only that file is not copied due to that further copy command is getting stuck.
copy command is getting stuck
What do you mean by "stuck"? Is the copy command hanging?
Also, what happens if you use fs.copyFile
?
Closing for lack of response.