Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit 6466793

Browse files
committed
add css-loader as dependencies
- as of npm 3 it seems there is no benefit in not specifying the dependency of css-loader directly - also it makes tests run out of the box, as they require css-loader anyways
1 parent 15fe6c7 commit 6466793

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"css modules webpack typings"
2626
],
2727
"dependencies": {
28+
"css-loader": ">=0.23.1",
2829
"graceful-fs": "4.1.4",
2930
"loader-utils": "0.2.16"
3031
},
@@ -41,9 +42,6 @@
4142
"typescript": "^1.8.10",
4243
"webpack": "^1.13.2"
4344
},
44-
"peerDependencies": {
45-
"css-loader": ">=0.23.1"
46-
},
4745
"repository": {
4846
"type": "git",
4947
"url": "git+https://github.com/Jimdo/typings-for-css-modules-loader.git"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export const foo: string;
2+
export const barBaz: string;

test/example-camelcase.css.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export interface IExampleCamelcaseCss {
2+
'foo': string;
3+
'bar-baz': string;
4+
'barBaz': string;
5+
}
6+
declare const styles: IExampleCamelcaseCss;
7+
8+
export default styles;

test/example-namedexport.css.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const foo: string;

0 commit comments

Comments
 (0)