diff --git a/docs/app.js b/docs/app.js index e0afc75..5bb921d 100644 --- a/docs/app.js +++ b/docs/app.js @@ -5,6 +5,7 @@ import Usage from './components/Usage' import Install from './components/Install' import Examples from './components/Examples' import Footer from './components/Footer' +import 'react-rangeslider/lib/index.css' import './app.less' function App () { diff --git a/docs/webpack.config.js b/docs/webpack.config.js index 95beb99..fa2de65 100644 --- a/docs/webpack.config.js +++ b/docs/webpack.config.js @@ -19,9 +19,9 @@ var config = { }, resolve: { - extensions: ['', '.js', '.less'], + extensions: ['', '.js', '.css', '.less'], alias: { - 'react-rangeslider$': path.join(__dirname, '..', 'src') + 'react-rangeslider': path.join(__dirname, '..') } }, @@ -32,6 +32,11 @@ var config = { exclude: /node_modules/, loader: 'babel' }, + { + test: /\.css$/, + exclude: /node_modules/, + loader: 'style!css' + }, { test: /\.txt$/, exclude: /node_modules/,