I am using webpack, I can "import" the css file without error, but the css is not exported in the final product.
Webpack excerpt:
module: {
loaders: [
{test: /\.css$/,loader: 'css-loader'},
{test: /\.scss$/,loader: ExtractTextPlugin.extract('css-loader!sass-loader')},
{test: /\.js$/, loader: 'babel-loader', include},
{test: /\.json$/, loader: 'json', include},
{test: /\.jpe?g$|\.gif$|\.png$/i, loader: "file-loader" },
]
},
Run:
npm install hopscotch
Code:
import 'hopscotch/dist/css/hopscotch.css';