liferay-npm-bundler-loader-style-loader

2.32.0 • Public • Published

liferay-npm-bundler-loader-style-loader

A liferay-npm-bundler loader that turns CSS files into JavaScript modules that inject the CSS into the HTML when they are required.

Installation

npm install --save-dev liferay-npm-bundler-loader-style-loader

Usage

In order to use this loader you must declare a rule in your module's .npmbundlerrc file:

{
	"rules": [
		{
			"test": "\\.css$",
			"use": ["style-loader"]
		}
	]
}

See the project's documentation for more information on how to use build rules.

/liferay-npm-bundler-loader-style-loader/

    Package Sidebar

    Install

    npm i liferay-npm-bundler-loader-style-loader

    Weekly Downloads

    614

    Version

    2.32.0

    License

    none

    Unpacked Size

    4.48 kB

    Total Files

    6

    Last publish

    Collaborators

    • antonio-ortega
    • daniel.sanz
    • izaera-lr
    • edalgrin
    • pat270
    • liferay
    • bryceosterhaus
    • matuzalemteles
    • gagranta
    • p2kmgcl
    • marko.cikos
    • kresimircoko
    • wincent
    • izaera