Este es el error ERROR in ./index.js 1 Module not found: Error: Can't resolve './index.css'
Este es mi index.js
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from 'App';
Este es el error ERROR in ./index.js 1 Module not found: Error: Can't resolve './index.css'
Este es mi index.js
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from 'App';
Aqui tienes un link a un issue que se parece mucho a tu problema
https://github.com/webpack/webpack/issues/1470
debes tener style-loader en tu webpack.config
{
module: {
loaders: [
{ test: /\.css$/, loader: 'style!css' },
]
}
}
y tenerlo instalado en tu node_modules
npm install --save-dev style-loader