jorgeorm / webpack-lib

This project aims to have a wide set of configurations that can be used across a wide set of projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

loadSASS and loadCSS are not injecting the bundled in the header element with js files as issuers

jairovg opened this issue · comments

Description

When the load[SASS|CSS] is used to load a resource from a js extension file, the bundled styles are not placed in the header element.

Steps to Reproduce

  1. Import the load[SASS|CSS] API.
  2. Call to the imported function in a webpack.confg file, it can be without any config.
  3. Run the application

Expected behavior: The bundled styles should be in the header element.

Actual behavior: A file with the new main imported resource is created and used in the page.