mirror of
https://github.com/akveo/eva-icons.git
synced 2025-09-03 02:42:46 +02:00
chore(package): replace style-loader to isomorphic-style-loader for ssr support (#76)
This commit is contained in:
5625
package-lock.json
generated
5625
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -68,6 +68,7 @@
|
||||
"globby": "^8.0.1",
|
||||
"gm": "^1.23.1",
|
||||
"html-minifier": "^3.5.20",
|
||||
"isomorphic-style-loader": "^5.1.0",
|
||||
"jasmine-core": "~2.99.1",
|
||||
"jasmine-spec-reporter": "~4.2.1",
|
||||
"karma": "~1.7.1",
|
||||
|
@@ -6,7 +6,10 @@
|
||||
|
||||
import icons from './icons';
|
||||
import replace from './replace';
|
||||
import style from './animation.scss';
|
||||
|
||||
import './animation.scss';
|
||||
if (typeof window !== 'undefined') {
|
||||
style._insertCss();
|
||||
}
|
||||
|
||||
export { icons, replace };
|
||||
|
@@ -43,7 +43,7 @@ module.exports = {
|
||||
{
|
||||
test: /\.scss$/,
|
||||
use: [
|
||||
"style-loader",
|
||||
"isomorphic-style-loader",
|
||||
"css-loader",
|
||||
"sass-loader"
|
||||
]
|
||||
|
Reference in New Issue
Block a user