Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 11ba2f8

Browse files
chore: specify webpackLoader in package config
1 parent 74a1317 commit 11ba2f8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = {
4848
loaders: [
4949
{
5050
test: /\.react.css$/,
51-
loader: 'babel-loader!react-css-components/webpack',
51+
loader: 'babel-loader!react-css-components',
5252
}
5353
]
5454
}

‎examples/webpack/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
loaders: [
1818
{
1919
test: /\.react.css$/,
20-
loader: 'babel-loader!react-css-components/webpack',
20+
loader: 'babel-loader!react-css-components',
2121
},
2222
{
2323
test: /\.js$/,

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.6.9",
44
"description": "Define styled React components using CSS based module format",
55
"main": "lib/index.js",
6+
"webpackLoader": "webpack.js",
67
"babel": {
78
"plugins": [
89
"ast-literal"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /