diff --git a/webpack.dev.js b/webpack.dev.js index 513cd15..665206c 100644 --- a/webpack.dev.js +++ b/webpack.dev.js @@ -6,7 +6,7 @@ const path = require('path'); const webpack = require('webpack'); // webpack plugins -const DashboardPlugin = require('webpack-dashboard/plugin'); +var DashboardPlugin = require('webpack-dashboard/plugin'); // config files const common = require('./webpack.common.js'); @@ -64,7 +64,6 @@ const configurePostcssLoader = () => { { loader: 'css-loader', options: { - url: false, importLoaders: 2, sourceMap: true } @@ -75,7 +74,10 @@ const configurePostcssLoader = () => { { loader: 'postcss-loader', options: { - sourceMap: true + sourceMap: true, + config: { + path: path.resolve(__dirname), + } } } ]