Commit Graph

167 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov d46ab05313 Add npm ignores 2021-08-12 01:25:00 +03:00
Vitaliy Filippov 842a6a415c Rename to newer-universal-style-loader 2021-08-12 00:54:16 +03:00
Vitaliy Filippov 45251c7af0 Fix tests 2021-08-12 00:54:03 +03:00
Vitaliy Filippov 4eae61cccf Rewrite README 2021-08-11 21:35:38 +03:00
Vitaliy Filippov 7d48da227e Remove global variable, add ID to style elements so server- and client-rendered match each other 2021-08-11 21:14:14 +03:00
Vitaliy Filippov e5aaab0300 Remove yarn lock 2021-08-11 21:14:14 +03:00
Vitaliy Filippov 9888215ab0 Remove Windows line breaks 2021-08-11 21:14:14 +03:00
terence chow 0729ce6818 fix readme again 2017-03-29 22:15:37 +01:00
terence chow 376d4eebef fix readme 2017-03-29 22:13:02 +01:00
terence chow 696bcbe133 merge 0.16.1 style loader into simple-universal-style-loader 2017-03-29 22:08:42 +01:00
Joshua Wiens 5f56f9fd56 chore(release): 0.16.1 2017-03-28 08:28:42 -05:00
Tomas Alabes f6f577a73c fix: negative refs (#122) 2017-03-26 23:02:00 +02:00
Joshua Wiens 0a27bfc4cf chore(release): 0.16.0 2017-03-22 08:44:26 -05:00
Konstantin Kai 2c4f4278b0 feat: Set custom attributes for tag in url mode (#198)
* Add ability to set custom attributes for tag in url mode
2017-03-22 08:43:24 -05:00
Alexander Grimalovsky 1f68495a17 fix(addStyles): update for test for old IE versions (#196) 2017-03-22 03:32:29 +01:00
Joshua Wiens b153070733 chore(release): 0.15.0 2017-03-20 21:22:47 -05:00
Anton Strömkvist 663686884b feat: add insertInto option (#135) 2017-03-17 20:26:49 +01:00
John Anderson 71e0908536 fix: match parens recursively on URLs to not fix embeded calls (#192) 2017-03-16 22:22:26 +01:00
Joshua Wiens b48121e77c chore(release): 0.14.1 2017-03-15 18:13:43 -05:00
Denis Koltsov 01080cf17f fix: syntax error in IE10 and below because of `const` keyword (#190) 2017-03-15 23:51:33 +01:00
Joshua Wiens c1d1e48ccf chore(release): 0.14.0 2017-03-14 23:32:19 -05:00
Joshua Wiens 2630c0f969 chore: add standard version & script (#189) 2017-03-14 23:21:43 -05:00
Eugene Kulabuhov feab724b66 test: Local Scope and Local Scope + Useable (#188) 2017-03-14 23:20:49 -05:00
John Anderson 19959eeb77 fix(fixUrls): add param to fix relative urls (#186) 2017-03-14 23:17:26 -05:00
Eugene Kulabuhov 988e58acf3 docs(readme): Update useable example (#184) 2017-03-14 23:16:02 -05:00
Felix Mosheev 995f3de4d3 feat(tag-attribute): Add support for custom tag attribute 2017-03-14 23:16:02 -05:00
Dimitar Ivanov 2a2f261ef9 fix: Adds type attr. to the generated link element
Although the rel element is set to stylesheet the created link element does not specify the MIME type of the linked resource.
The MIME type is set to text/css similar to the case when an style element is created. This change also syncs with the addStylesUrl.js behavior where the type attribute is set.
2017-03-14 23:15:21 -05:00
José Moreira e280cb6bd9 fix(usable): Export locals if available(#128) 2017-03-14 23:12:54 -05:00
Eugene Kulabuhov 43910f3356 test: unit tests for basic configurations
Extracted common config code to utils.js
Added travis config
Added mocha as devDep

Added yarn.lock. Travis CI installs yarn if the file is present.

Marked yarn.lock as binary to prevent conflict hell
Moved web pack back from peerDep to dep
Destructuring is not supported in Node v4.3, so replaced it

Node v4 requires "use strict" to allow block scoped let & const
Node v4: replaced "spread" operator with "apply"
2017-03-14 23:12:35 -05:00
Joshua Wiens 38a7be7f5b chore(release): style-loader v0.13.2 2017-03-14 23:12:20 -05:00
ryani33 295eb216c9 fix deprecated warning 2017-03-14 23:12:20 -05:00
Joe Seifi c890854634 Fixed link to local scope
Update the link to css-loader local scope
2017-03-14 23:12:20 -05:00
Simon Legner 95ae661b1d Remove license link
To allow inclusion in https://webpack.js.org/ docs.
2017-03-14 23:12:20 -05:00
Joshua Wiens d4632364ec chore(readme): Update to webpack standard format 2017-03-14 23:12:19 -05:00
blainekasten e2e69562c9 Change Readme to use new Rule.use configuration
-A
2017-01-10 11:31:49 -06:00
Kees Kluskens 78de576f9b Add LICENSE file 2016-12-07 21:37:01 +01:00
Kees Kluskens aed8706637 Add issue templates 2016-11-18 11:34:37 +01:00
Kees Kluskens 102c74bb96 Merge pull request #151 from kennyjacob/patch-1
Update README.md
2016-11-17 16:37:13 +01:00
Kenny John Jacob 981814a100 Update README.md
* Change position of 'Install' section.
* Add --save-dev to install script
2016-11-17 21:00:53 +05:30
Tobias Koppers 6751466773 Merge pull request #150 from kevinzwhuang/add-loader-suffix
Add -loader suffix to reflect new loader syntax webpack 2 requirement
2016-11-16 19:51:42 +01:00
Kevin Huang f683bd3544
Add -loader suffix to reflect new loader syntax webpack 2 requirement 2016-11-16 10:46:05 -08:00
Oskar Eriksson 9dc45a6dee Replace window with self for better web worker support 2016-10-27 11:28:17 +02:00
Istvan Jano b8edfa7f17 Some refactor: added getStyle and separated server code 2016-07-26 09:49:11 +01:00
Istvan Jano d6e4da2565 Update README 2016-07-24 17:48:07 +01:00
Istvan Jano 21b29c7635 Increase version to 0.14.2 2016-07-24 17:39:50 +01:00
Istvan Jano 2739151569 Fix missing block close '}' 2016-07-24 17:39:27 +01:00
Istvan Jano ec63c270a0 Ignore folder .idea 2016-07-24 17:38:36 +01:00
Istvan Jano 7ead6e8496 Implement ability to be used on server side - For universal apps 2016-07-24 17:20:42 +01:00
Tobias Koppers 50af215f06 Merge pull request #120 from crucialfelix/patch-1
add a one-line description of what the style-loader actually does
2016-05-11 11:25:00 +02:00
Chris Sattinger 4f319d2bdf add a one-line description of what the style-loader actually does 2016-05-02 11:05:37 +02:00