1
0
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:
Denis Strigo
2019-10-31 15:11:23 +03:00
committed by GitHub
parent eabd46920c
commit 757427a7e3
4 changed files with 2876 additions and 2757 deletions

5625
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -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",

View File

@@ -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 };

View File

@@ -43,7 +43,7 @@ module.exports = {
{
test: /\.scss$/,
use: [
"style-loader",
"isomorphic-style-loader",
"css-loader",
"sass-loader"
]