Skip to content

Commit 3359b74

Browse files
committed
Remove outdated reference to node_modules folder
The prefix `~` was used to refer to a package in the `node_modules` folder and thus specify the search path. By today, this syntax is still supported, but unnecessary (the search path nowadays includes `node_modules`) and thus the usage is not recommended any longer.
1 parent 30ebce1 commit 3359b74

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

app/javascript/stylesheets.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
// To reference this file, add <%= stylesheet_pack_tag 'stylesheets' %> to the appropriate
88
// layout file, like app/views/layouts/application.html.slim
99

10-
@import '~bootstrap/scss/bootstrap';
10+
@import 'bootstrap/scss/bootstrap';
1111
@import 'select2/src/scss/core';
1212

1313
// Import the Ace editor styles
14-
@import url('~ace-builds/css/ace.css');
15-
@import url('~ace-builds/css/theme/chrome.css');
14+
@import url('ace-builds/css/ace.css');
15+
@import url('ace-builds/css/theme/chrome.css');
1616

1717

1818
// We define our own button style here, since `btn-outline-dark` and `btn-outline-light` do not switch colors.
@@ -38,8 +38,8 @@ html[data-bs-theme="light"] {
3838
}
3939

4040

41-
$fa-font-path: '~@fortawesome/fontawesome-free/webfonts/';
42-
@import '~@fortawesome/fontawesome-free/scss/fontawesome';
43-
@import '~@fortawesome/fontawesome-free/scss/solid';
44-
@import '~@fortawesome/fontawesome-free/scss/regular';
45-
@import '~@fortawesome/fontawesome-free/scss/v4-shims';
41+
$fa-font-path: '@fortawesome/fontawesome-free/webfonts/';
42+
@import '@fortawesome/fontawesome-free/scss/fontawesome';
43+
@import '@fortawesome/fontawesome-free/scss/solid';
44+
@import '@fortawesome/fontawesome-free/scss/regular';
45+
@import '@fortawesome/fontawesome-free/scss/v4-shims';

0 commit comments

Comments
 (0)