5 Matching Annotations
  1. May 2021
  2. Nov 2020
    1. Since Sass implementations don't provide url rewriting, all linked assets must be relative to the output.
    2. The sass-loader uses Sass's custom importer feature to pass all queries to the Webpack resolving engine. Thus you can import your Sass modules from node_modules. Just prepend them with a ~ to tell Webpack that this is not a relative import: @import '~bootstrap';
    1. Since Sass/libsass does not provide url rewriting, all linked assets must be relative to the output. Add the missing url rewriting using the resolve-url-loader.
    2. // ~ to tell that this is not a relative import @import '~bootstrap/dist/css/bootstrap'