Skip to content

Commit

Permalink
now with sourcemaps! (apache#8637)
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas authored and mistercrunch committed Nov 26, 2019
1 parent acf0753 commit badcf82
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions superset/assets/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,31 @@ const config = {
],
use: [
isDevMode ? 'style-loader' : MiniCssExtractPlugin.loader,
'css-loader',
{
loader: 'css-loader',
options: {
sourceMap: true,
},
},
],
},
{
test: /\.less$/,
include: APP_DIR,
use: [
isDevMode ? 'style-loader' : MiniCssExtractPlugin.loader,
'css-loader',
'less-loader',
{
loader: 'css-loader',
options: {
sourceMap: true,
},
},
{
loader: 'less-loader',
options: {
sourceMap: true,
},
},
],
},
/* for css linking images */
Expand Down

0 comments on commit badcf82

Please sign in to comment.