FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

dorian-marchal/userscript-css-loader: Simple webpack loader module for using CSS in userscripts · GitHub

Repository navigation

About

Simple webpack loader module for using CSS in userscripts

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Userscript CSS loader for webpack

Inject a CSS file in the DOM with the greasemonkey function GM_addStyle. Useful for loading a simple CSS file without embedding both css-loader and style-loader in your userscript.

Installation

npm install --save-dev userscript-css-loader

Usage

// ==UserScript==
// @name           Example userscript
// @grant          GM_addStyle
// ==/UserScript==

require('userscript-css!./style.css');

About

Simple webpack loader module for using CSS in userscripts

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL