Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred when import css files. #821

Closed
xrr2016 opened this issue Feb 27, 2017 · 2 comments
Closed

An error occurred when import css files. #821

xrr2016 opened this issue Feb 27, 2017 · 2 comments

Comments

@xrr2016
Copy link

xrr2016 commented Feb 27, 2017

my webpack.config.js
{ test: /\.css$/, use: ['style-loader', 'css-loader'] }
index.css
body{ background-color: #f4f4f4; }

in the index.js

import './style/index.css'

and Chrome give this error

Uncaught SyntaxError: missing ) after argument list

but when i use 'webpack' in git bash it work correct, the body background become #f4f4f4.

@SpaceK33z
Copy link
Member

Please provide a repository reproducing the issue.

@SpaceK33z
Copy link
Member

I'm closing this issue because of inactivity. Feel free to comment, and we can always re-open it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants