Tobias Koppers
b963023e26
0.10.2
2015-04-14 23:51:58 +02:00
Tobias Koppers
4c0fce2278
Merge pull request #51 from diurnalist/ie-singleton-media-queries
...
[#39 ] Don't use styleSheet to store state of css text
2015-04-14 17:20:51 +02:00
Tobias Koppers
8cb2835b6b
Merge pull request #52 from zxcabs/stringifyRequest
...
Use loaderUtils#stringifyRequest
2015-04-14 17:19:49 +02:00
Evgeny Reznichenko
7526b57ad2
Use loaderUtils#stringifyRequest
2015-04-14 15:47:10 +03:00
Jason Anderson
c56dacf4ed
[ #39 ] Don't use styleSheet to store state of css text
...
IE9 will actually drop certain things (like media queries) from the
cssText property when it is read back out. To fix, store the raw css
text in a separately managed array, and use that to form the entire
string that should be set on the style element's cssText property.
Fixes #39 .
2015-04-14 09:13:34 +02:00
Tobias Koppers
9f565cb881
0.10.1
2015-04-09 23:47:04 +02:00
Tobias Koppers
b9fdff56e8
use stringifyRequest
2015-04-09 23:46:55 +02:00
Tobias Koppers
8744511292
0.10.0
2015-04-09 23:09:42 +02:00
Tobias Koppers
8ec72674a2
added SourceMap support
2015-04-09 23:08:38 +02:00
Tobias Koppers
b8316d5c5d
0.9.0
2015-03-23 09:25:49 +01:00
Tobias Koppers
5e5c3a028e
fixed #46
2015-03-23 00:14:58 +01:00
Tobias Koppers
bc114515c2
Merge pull request #23 from 2color/patch-1
...
Update README.md
2015-02-28 01:21:22 +01:00
Tobias Koppers
ff0068d3a7
Merge pull request #43 from mako-taco/master
...
Apply default singleton to IE6-8 as well
2015-02-28 01:21:01 +01:00
Jake Scott
d8ada9056b
fixed regex
2015-02-27 11:41:35 -05:00
Jake Scott
db33060185
apply ie9 singleton fix to all old IE browsers
2015-02-27 11:25:50 -05:00
Jake Scott
0541cbe84a
apply ie9 singleton fix to all old IE browsers
2015-02-27 11:23:09 -05:00
Tobias Koppers
5e375d894f
0.8.3
2015-01-15 17:00:30 +01:00
Tobias Koppers
5e4fe6ef2a
fixes #35
2014-12-27 20:32:33 +01:00
Tobias Koppers
3e2d48d9c0
Merge pull request #34 from nickdima/fix-mime-type
...
Fix mime type
2014-11-15 18:32:40 +01:00
Nick Dima
8ebe854151
Fix mime type
2014-11-15 14:25:27 +01:00
Tobias Koppers
09a09e8010
0.8.2
2014-11-03 23:24:16 +01:00
Tobias Koppers
490d3b0938
SourceMap support
...
fixes #30
fixes webpack/webpack#214
2014-11-03 23:23:50 +01:00
Tobias Koppers
4bd4f38a42
added documentation for singleton query param
2014-11-03 22:53:02 +01:00
Tobias Koppers
0cc58a7b6c
Merge pull request #24 from diurnalist/feature/singleton-tag
...
Adds `singleton` option to allow re-using a single <style> element
2014-11-03 21:50:46 +01:00
Jason Anderson
1d35be2844
Handle case of null/empty replacement
2014-11-03 15:21:39 +01:00
Tobias Koppers
95bf1451a2
Merge pull request #26 from DenisIzmaylov/patch-1
...
Update README.md
2014-10-23 14:36:59 +02:00
Denis Izmaylov
91f2be2fa4
Update README.md
2014-10-23 16:31:22 +04:00
Jason Anderson
5d226596da
Fix issue with non-singleton tag updating
2014-10-21 14:21:12 +02:00
Jason Anderson
7f88d2d0b2
Allow undefined option
2014-10-21 11:47:15 +02:00
Jason Anderson
7bdf6a5065
Better solution when combining HMR with singleton tags
...
Now, instead of assuming a constant length (d'oh), the boundaries of each
style block will be demarkated with a start/end token. When a style is updated,
the CSS block contents in between the boundaries is replaced. If a style is
removed, the entire section is removed. New sections are added to the bottom.
2014-10-21 11:36:13 +02:00
Jason Anderson
2e49f17bcd
Adds documentation of option
2014-10-20 18:26:18 +02:00
Jason Anderson
b1a5566cfa
Add option to re-use single <style> element
...
This adds the ability for the style-loader to re-use a single <style>
element reference when adding/removing styles from the page. This is
particularly important when you want to use style-loader with a browser
like IE9, which enforces a hard-limit on the # of style tags allowed on
the page at any given point.
This is added as a new option `singleton`, and is automatically turned
on if the browser is determined to be IE9.
2014-10-20 18:22:46 +02:00
Daniel Norman
fecfaaac8c
Update README.md
...
Add the install command for consistency with other webpack loader repos.
2014-10-17 12:55:36 +02:00
Tobias Koppers
eb93284483
Merge pull request #22 from deepsweet/npmignore
...
Add .npmignore
2014-10-06 18:35:11 +02:00
Kir Belevich
9692a5240a
Add .npmignore
2014-10-06 22:51:13 +07:00
Tobias Koppers
d13b7c4dbb
0.8.1
2014-09-30 13:02:16 +02:00
Tobias Koppers
eeb041cf01
Merge pull request #20 from tgriesser/master
...
Fix #19
2014-09-30 13:00:03 +02:00
Tim Griesser
bcc95edcb6
Fix useable api
2014-09-29 17:43:33 -04:00
Tim Griesser
cc54363441
Fix #19
2014-09-29 17:22:41 -04:00
Tobias Koppers
8ec1dc6ee6
0.8.0
2014-09-07 22:23:59 +02:00
Tobias Koppers
289e62f0c1
support an array of items with id
...
This ensures that items with the same id are only added once.
i. e. multiple css file and `@import` the same base css file and it's only added once to the DOM.
webpack/css-loader#17
2014-09-07 22:23:54 +02:00
Tobias Koppers
fd51db8715
0.7.1
2014-08-27 14:22:45 +02:00
Tobias Koppers
de4899e6aa
Merge pull request #15 from sirlancelot/patch-1
...
Always return the dispose function
2014-08-27 14:20:58 +02:00
Matthew Pietz
be4a7636f1
Always return the dispose function
...
For the useable API, we always need to get a function back so that `unuse()`
works correctly.
Moved variable definitions to the top for cleanliness and better uglification.
All modern browsers support `document.head`. Use it and fallback to querying.
2014-08-26 10:53:50 -07:00
Tobias Koppers
5e18452d9e
Merge pull request #14 from danielphan/patch-1
...
Add missing semicolon
2014-08-17 11:19:08 +02:00
Daniel Phan
0e589fe553
Add missing semicolon
...
So jshint doesn't complain.
2014-08-16 09:39:17 -07:00
Tobias Koppers
d7dd41d661
0.7.0
2014-08-14 11:12:56 +02:00
Tobias Koppers
e3f5bbe43e
fixed hot handling
...
it now bubbles when the css failed
fixes #11
fixes #12
fixes #13
2014-08-14 11:12:19 +02:00
Tobias Koppers
175cc51852
0.6.5
2014-08-12 12:59:04 +02:00
Tobias Koppers
fb31d1b089
Merge pull request #10 from undoZen/link-element-hot-replace
...
enable hot replace in url.js
2014-08-12 12:43:10 +02:00