jurassix / atom-javascript-refactor

atom plugin that provides refactoring support for JavaScript
MIT License
32 stars 3 forks source link

Support .css files #54

Open jurassix opened 7 years ago

jurassix commented 7 years ago

create-react-app bootstraps css support loaded from JavaScript; JS files have import statements to .css files. We need to update our JS files if these move.

PatricSachse commented 7 years ago

Does this prefer to (I would call it) bug that each import of a css-file is destroyed after moving files by removing the .css ending in the import? We're using postCss and it is actually a little tricky to use your plugin because of this behaviour :/